Commit 3e0cf05e authored by Christian Beier's avatar Christian Beier

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

Needed for the IPv6 stuff.
parent a0cee790
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment