summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-29 18:33:32 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-29 18:33:32 +0100
commit6df29db3df348b2d53a36628305e0f2a723e7980 (patch)
tree1516a6da1b96e7a46a2f98419909aedf3c5f6735 /examples
parent8e90e892c5b36c27526e6952dfd44cbea20744ea (diff)
downloadlibtdevnc-6df29db3df348b2d53a36628305e0f2a723e7980.tar.gz
libtdevnc-6df29db3df348b2d53a36628305e0f2a723e7980.zip
Fix vncev example compilation on Windows
Diffstat (limited to 'examples')
-rw-r--r--examples/vncev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/vncev.c b/examples/vncev.c
index b185746..4051d2b 100644
--- a/examples/vncev.c
+++ b/examples/vncev.c
@@ -5,10 +5,11 @@
#ifdef __STRICT_ANSI__
#define _BSD_SOURCE
#endif
+#include <rfb/rfbconfig.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
-#ifndef __MINGW32__
+#if LIBVNCSERVER_HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include <rfb/rfb.h>