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 <johannes.schindelin@gmx.de>
pull/1/head
Daniel Cohen Gindi 10 years ago committed by Johannes Schindelin
parent 3059282751
commit 8175f428dc

@ -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

Loading…
Cancel
Save