diff options
-rw-r--r-- | libvncclient/sasl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/sasl.c b/libvncclient/sasl.c index db240c1..b533adb 100644 --- a/libvncclient/sasl.c +++ b/libvncclient/sasl.c @@ -38,6 +38,10 @@ #include <errno.h> #include <rfb/rfbclient.h> +#if LIBVNCSERVER_HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif + #ifdef WIN32 #undef SOCKET #include <winsock2.h> |