@ -52,7 +52,7 @@ extern "C"
#include <sys/types.h>
#endif
#ifdef __MINGW32__
#ifdef WIN32
#undef SOCKET
#include <winsock2.h>
#ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H
@ -267,7 +267,7 @@ typedef struct _rfbScreenInfo
SOCKET listenSock;
int maxSock;
int maxFd;
struct fd_set allFds;
#else
fd_set allFds;