diff options
author | Christian Beier <[email protected]> | 2011-03-07 14:04:45 +0100 |
---|---|---|
committer | Christian Beier <[email protected]> | 2011-03-12 18:50:17 +0100 |
commit | 8909e9fe448c38907ef0540f61a532a6d0a87420 (patch) | |
tree | 374d70fc50058eec7bc067dcee9ad15a9c8e4fa8 | |
parent | e323d73f915daf00f74160be7b9f50e634ea784d (diff) | |
download | libtdevnc-8909e9fe448c38907ef0540f61a532a6d0a87420.tar.gz libtdevnc-8909e9fe448c38907ef0540f61a532a6d0a87420.zip |
Let libvncclient build with gcrypt for MinGW32 builds.
Signed-off-by: Christian Beier <[email protected]>
-rw-r--r-- | libvncclient/rfbproto.c | 4 |
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 |