summaryrefslogtreecommitdiffstats
path: root/libvncclient/sasl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/sasl.c')
-rw-r--r--libvncclient/sasl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncclient/sasl.c b/libvncclient/sasl.c
index 0530307..db240c1 100644
--- a/libvncclient/sasl.c
+++ b/libvncclient/sasl.c
@@ -41,6 +41,9 @@
#ifdef WIN32
#undef SOCKET
#include <winsock2.h>
+#ifdef EWOULDBLOCK
+#undef EWOULDBLOCK
+#endif
#define EWOULDBLOCK WSAEWOULDBLOCK
#define socklen_t int
#define close closesocket