summaryrefslogtreecommitdiffstats
path: root/examples/vncev.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vncev.c')
-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>