summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorDaniel Cohen Gindi <[email protected]>2014-09-01 01:28:12 +0300
committerJohannes Schindelin <[email protected]>2014-09-02 16:43:16 +0200
commit8175f428dc003b6a4564deee7ae78bc3b3b62ebf (patch)
treeddc4d4257e3289fe69d29ab992099b8ebfd00d63 /rfb
parent30592827518d8af36d1e686b48ecbc20b502a993 (diff)
downloadlibtdevnc-8175f428dc003b6a4564deee7ae78bc3b3b62ebf.tar.gz
libtdevnc-8175f428dc003b6a4564deee7ae78bc3b3b62ebf.zip
Use correct winsock header
We link to ws2_32.lib which corresponds to the winsock2.h header, not the winsock.h header. [JES: fixed commit message] Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index fe46c3e..540f79f 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -65,7 +65,7 @@
#define LIBVNCSERVER_WORDS_BIGENDIAN
#define rfbBool int
#include <sys/timeb.h>
-#include <winsock.h>
+#include <winsock2.h>
#undef SOCKET
#define SOCKET int
#else