libvncclient: include winsock2.h in vncviewer.c.

fixes warning about closesocket being implicitly declared.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
pull/1/head
Christian Beier 15 years ago committed by Johannes Schindelin
parent d3c1d98c2d
commit d4c43c1b73

@ -44,6 +44,8 @@ static void DummyRect(rfbClient* client, int x, int y, int w, int h) {
static char* NoPassword(rfbClient* client) {
return strdup("");
}
#undef SOCKET
#include <winsock2.h>
#define close closesocket
#else
#include <stdio.h>

Loading…
Cancel
Save