diff options
author | Christian Beier <dontmind@freeshell.org> | 2009-10-31 19:46:36 +0100 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-11-10 23:13:15 +0100 |
commit | d4c43c1b7316fdaa03e4e1b14ef21f502a1c8be9 (patch) | |
tree | 83768bf68d5057f512cff1c2de739a5e82219002 /libvncclient/vncviewer.c | |
parent | d3c1d98c2d6223cb154a489492743cfa313d9268 (diff) | |
download | libtdevnc-d4c43c1b7316fdaa03e4e1b14ef21f502a1c8be9.tar.gz libtdevnc-d4c43c1b7316fdaa03e4e1b14ef21f502a1c8be9.zip |
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>
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r-- | libvncclient/vncviewer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index 3ad8a27..b5fb420 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -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> |