From 5030d53ff08665d27e388244aa22b272716240bc Mon Sep 17 00:00:00 2001 From: dscho Date: Sun, 9 Feb 2003 15:04:00 +0000 Subject: converted CARD{8,16,32} to uint{8,16,32}_t and included support for stdint.h --- main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 59ddf93..be2e270 100644 --- a/main.c +++ b/main.c @@ -10,8 +10,6 @@ * see GPL (latest version) for full details */ -#include -#include #include #include @@ -20,12 +18,16 @@ #define true -1 #endif +#ifdef HAVE_SYS_TYPES_H #include +#endif + #ifndef WIN32 #include #include #include #endif + #include #include @@ -734,7 +736,7 @@ void rfbInitServer(rfbScreenInfoPtr rfbScreen) httpInitSockets(rfbScreen); } -#ifdef WIN32 +#ifndef HAVE_GETTIMEOFDAY #include #include #include -- cgit v1.2.3