Commit 8175f428 authored by Daniel Cohen Gindi's avatar Daniel Cohen Gindi Committed by Johannes Schindelin

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: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 30592827
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
#define LIBVNCSERVER_WORDS_BIGENDIAN #define LIBVNCSERVER_WORDS_BIGENDIAN
#define rfbBool int #define rfbBool int
#include <sys/timeb.h> #include <sys/timeb.h>
#include <winsock.h> #include <winsock2.h>
#undef SOCKET #undef SOCKET
#define SOCKET int #define SOCKET int
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment