summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbserver.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-28 21:02:11 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-28 21:02:11 +0100
commit73684172397d63c4274d7fbdf940f428cf31744c (patch)
treee76a49de1af950fece3cf88c30b2fe3e3dfa736a /libvncserver/rfbserver.c
parent37f293d58873114fc02a4df4081ba9936da1fd71 (diff)
downloadlibtdevnc-73684172397d63c4274d7fbdf940f428cf31744c.tar.gz
libtdevnc-73684172397d63c4274d7fbdf940f428cf31744c.zip
Various #ifdef fixes to allow building with MSVC2014
Diffstat (limited to 'libvncserver/rfbserver.c')
-rw-r--r--libvncserver/rfbserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index bc9cc11..040238d 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -37,6 +37,7 @@
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>
#include "private.h"
+#include "rfb/rfbconfig.h"
#ifdef LIBVNCSERVER_HAVE_FCNTL_H
#include <fcntl.h>
@@ -74,7 +75,9 @@
/* stst() */
#include <sys/types.h>
#include <sys/stat.h>
+#if LIBVNCSERVER_HAVE_UNISTD_H
#include <unistd.h>
+#endif
#ifndef WIN32
/* readdir() */