diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-05-03 15:29:22 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-05-03 15:29:22 +0200 |
commit | 3e0cf05e12cf7af71ea15e7c946e487a62e4972a (patch) | |
tree | c4d36e2a700618d90365f8b3f5a77f1e9e16e704 /rfb/rfb.h | |
parent | a0cee790cff93a4076abb3850f37f40b14a47b08 (diff) | |
download | libtdevnc-3e0cf05e12cf7af71ea15e7c946e487a62e4972a.tar.gz libtdevnc-3e0cf05e12cf7af71ea15e7c946e487a62e4972a.zip |
LibVNCServer: Include ws2tcpip.h if it's available.
Needed for the IPv6 stuff.
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r-- | rfb/rfb.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |