19 |
*/ |
*/ |
20 |
|
|
21 |
#include <stdio.h> |
#include <stdio.h> |
|
#include "rdesktop.h" |
|
22 |
#include <unistd.h> |
#include <unistd.h> |
23 |
#include <fcntl.h> |
#include <fcntl.h> |
24 |
#include <strings.h> |
#include <strings.h> |
25 |
#include <sys/types.h> |
#include <sys/types.h> |
26 |
#include <time.h> |
#include <time.h> |
27 |
|
/* PCSC does not use BOOL as parameters or return values in function calls, |
28 |
|
so let us just ignore their own definition of BOOL */ |
29 |
|
#define BOOL PCSC_BOOL |
30 |
#ifndef MAKE_PROTO |
#ifndef MAKE_PROTO |
31 |
#ifdef PCSC_OSX |
#ifdef PCSC_OSX |
32 |
|
#include <PCSC/wintypes.h> |
33 |
#include <PCSC/pcsclite.h> |
#include <PCSC/pcsclite.h> |
34 |
#include <PCSC/winscard.h> |
#include <PCSC/winscard.h> |
35 |
#else |
#else |
36 |
|
#include <wintypes.h> |
37 |
#include <pcsclite.h> |
#include <pcsclite.h> |
38 |
#include <winscard.h> |
#include <winscard.h> |
39 |
#endif /* PCSC_OSX */ |
#endif /* PCSC_OSX */ |
40 |
|
#undef BOOL |
41 |
|
#include "rdesktop.h" |
42 |
#include "scard.h" |
#include "scard.h" |
43 |
|
|
44 |
/* variable segment */ |
/* variable segment */ |