From 901eba9f4608de6af231fde34264ede878c4d253 Mon Sep 17 00:00:00 2001 From: Daniel Cohen Gindi Date: Sat, 20 Sep 2014 17:16:52 +0300 Subject: Generally adjusting headers for compiling on windows without the mixing of Winsock 1 and 2. --- rfb/rfbclient.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rfb') diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index 9ac3c37..aedb4f4 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -31,6 +31,10 @@ * @file rfbclient.h */ +#ifdef WIN32 +#define WIN32_LEAN_AND_MEAN /* Prevent loading any Winsock 1.x headers from windows.h */ +#endif + #include #include #include -- cgit v1.2.3