LibVNCServer: Include ws2tcpip.h if it's available.

Needed for the IPv6 stuff.
pull/1/head
Christian Beier 12 years ago
parent a0cee790cf
commit 3e0cf05e12

@ -55,6 +55,10 @@ extern "C"
#ifdef __MINGW32__
#undef SOCKET
#include <winsock2.h>
#ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H
#undef socklen_t
#include <ws2tcpip.h>
#endif
#endif
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD

Loading…
Cancel
Save