summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-03-07 14:04:45 +0100
committerChristian Beier <dontmind@freeshell.org>2011-03-12 18:50:17 +0100
commit8909e9fe448c38907ef0540f61a532a6d0a87420 (patch)
tree374d70fc50058eec7bc067dcee9ad15a9c8e4fa8
parente323d73f915daf00f74160be7b9f50e634ea784d (diff)
downloadlibtdevnc-8909e9fe.tar.gz
libtdevnc-8909e9fe.zip
Let libvncclient build with gcrypt for MinGW32 builds.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
-rw-r--r--libvncclient/rfbproto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index 2de9891..dd06ebd 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -52,6 +52,10 @@
#include <time.h>
#ifdef LIBVNCSERVER_WITH_CLIENT_GCRYPT
+#ifdef WIN32
+#undef SOCKET
+#undef socklen_t
+#endif
#include <gcrypt.h>
#endif