summaryrefslogtreecommitdiffstats
path: root/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2001-11-15 21:57:12 +0000
committerdscho <dscho>2001-11-15 21:57:12 +0000
commit4415df9540afd86671f9169c1542536c71000180 (patch)
tree305b64d075ae226b187b9c64f723089a68dd817d /rfb.h
parent281cb78005eba8a365fbcf3d1c868a5f4972ed0e (diff)
downloadlibtdevnc-4415df9540afd86671f9169c1542536c71000180.tar.gz
libtdevnc-4415df9540afd86671f9169c1542536c71000180.zip
Visual C++ / win32 compatibility reestablished
Diffstat (limited to 'rfb.h')
-rw-r--r--rfb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rfb.h b/rfb.h
index 67857fb..92d4522 100644
--- a/rfb.h
+++ b/rfb.h
@@ -29,7 +29,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/time.h>
#include <zlib.h>
#include "keysym.h"
@@ -85,11 +84,13 @@ typedef CARD32 KeySym;
#endif
#ifdef WIN32
+#include <sys/timeb.h>
#include <winsock.h>
#undef SOCKET
#define SOCKET int
#else
int max(int,int);
+#include <sys/time.h>
#include <netinet/in.h>
#define SOCKET int
#endif