diff options
Diffstat (limited to 'GenKey.c')
-rw-r--r-- | GenKey.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -51,6 +51,12 @@ getbits (long data, unsigned char *dst) #define srandom srand48 #define random lrand48 #endif +#ifdef WIN32 +#include <process.h> +#define srandom srand +#define random rand +#define getpid(x) _getpid(x) +#endif void XdmcpGenerateKey (XdmAuthKeyPtr key) |