summaryrefslogtreecommitdiffstats
path: root/vncauth.c
diff options
context:
space:
mode:
authordscho <dscho>2003-02-09 15:04:00 +0000
committerdscho <dscho>2003-02-09 15:04:00 +0000
commit5030d53ff08665d27e388244aa22b272716240bc (patch)
tree64aa4ced924efed1e8c66579fce4e93ef97499d6 /vncauth.c
parentf86f9cec24a85bff17b4635f09c00513a2c356c3 (diff)
downloadlibtdevnc-5030d53ff08665d27e388244aa22b272716240bc.tar.gz
libtdevnc-5030d53ff08665d27e388244aa22b272716240bc.zip
converted CARD{8,16,32} to uint{8,16,32}_t and included support for stdint.h
Diffstat (limited to 'vncauth.c')
-rw-r--r--vncauth.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/vncauth.c b/vncauth.c
index fb2c98e..9caf834 100644
--- a/vncauth.c
+++ b/vncauth.c
@@ -21,21 +21,27 @@
* vncauth.c - Functions for VNC password management and authentication.
*/
-#include <stdio.h>
-#include <stdlib.h>
+#include "rfb.h"
+#include "d3des.h"
+
#include <string.h>
#include <math.h>
+
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
+#endif
+
#include <time.h>
+
#ifdef WIN32
#define srandom srand
#define random rand
#else
#include <sys/time.h>
#endif
-#include "rfb.h"
-#include "d3des.h"
/*