Commit d4c43c1b authored by Christian Beier's avatar Christian Beier Committed by Johannes Schindelin

libvncclient: include winsock2.h in vncviewer.c.

fixes warning about closesocket being implicitly declared.
Signed-off-by: 's avatarChristian Beier <dontmind@freeshell.org>
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent d3c1d98c
...@@ -44,6 +44,8 @@ static void DummyRect(rfbClient* client, int x, int y, int w, int h) { ...@@ -44,6 +44,8 @@ static void DummyRect(rfbClient* client, int x, int y, int w, int h) {
static char* NoPassword(rfbClient* client) { static char* NoPassword(rfbClient* client) {
return strdup(""); return strdup("");
} }
#undef SOCKET
#include <winsock2.h>
#define close closesocket #define close closesocket
#else #else
#include <stdio.h> #include <stdio.h>
......
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