From 3e0cf05e12cf7af71ea15e7c946e487a62e4972a Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Thu, 3 May 2012 15:29:22 +0200 Subject: LibVNCServer: Include ws2tcpip.h if it's available. Needed for the IPv6 stuff. --- rfb/rfb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rfb/rfb.h') diff --git a/rfb/rfb.h b/rfb/rfb.h index 041b668..3446740 100644 --- a/rfb/rfb.h +++ b/rfb/rfb.h @@ -55,6 +55,10 @@ extern "C" #ifdef __MINGW32__ #undef SOCKET #include +#ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H +#undef socklen_t +#include +#endif #endif #ifdef LIBVNCSERVER_HAVE_LIBPTHREAD -- cgit v1.2.1