diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-01-28 21:02:11 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-01-28 21:02:11 +0100 |
commit | 73684172397d63c4274d7fbdf940f428cf31744c (patch) | |
tree | e76a49de1af950fece3cf88c30b2fe3e3dfa736a /libvncserver/rfbserver.c | |
parent | 37f293d58873114fc02a4df4081ba9936da1fd71 (diff) | |
download | libtdevnc-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.c | 3 |
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() */ |