diff options
author | dscho <dscho> | 2003-02-09 15:04:00 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-02-09 15:04:00 +0000 |
commit | 5030d53ff08665d27e388244aa22b272716240bc (patch) | |
tree | 64aa4ced924efed1e8c66579fce4e93ef97499d6 /main.c | |
parent | f86f9cec24a85bff17b4635f09c00513a2c356c3 (diff) | |
download | libtdevnc-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 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -10,8 +10,6 @@ * see GPL (latest version) for full details */ -#include <stdio.h> -#include <stdlib.h> #include <stdarg.h> #include <errno.h> @@ -20,12 +18,16 @@ #define true -1 #endif +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif + #ifndef WIN32 #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #endif + #include <signal.h> #include <time.h> @@ -734,7 +736,7 @@ void rfbInitServer(rfbScreenInfoPtr rfbScreen) httpInitSockets(rfbScreen); } -#ifdef WIN32 +#ifndef HAVE_GETTIMEOFDAY #include <fcntl.h> #include <conio.h> #include <sys/timeb.h> |