diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-01-28 17:59:52 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-01-28 17:59:52 +0100 |
commit | dede3aea22640d9b036f358b228aa611da6bc0d9 (patch) | |
tree | a0cfea7cc30af4f293cff1f9db9c7802be008551 /libvncclient/sockets.c | |
parent | 882c8f34779ac88a544d3020a90a677042fa7067 (diff) | |
download | libtdevnc-dede3aea22640d9b036f358b228aa611da6bc0d9.tar.gz libtdevnc-dede3aea22640d9b036f358b228aa611da6bc0d9.zip |
Fix LibVNCClient compilation with MSVC 2014
Diffstat (limited to 'libvncclient/sockets.c')
-rw-r--r-- | libvncclient/sockets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c index 8ddfd9d..1019580 100644 --- a/libvncclient/sockets.c +++ b/libvncclient/sockets.c @@ -30,7 +30,9 @@ # define _POSIX_SOURCE #endif #endif +#if LIBVNCSERVER_HAVE_UNISTD_H #include <unistd.h> +#endif #include <errno.h> #include <fcntl.h> #include <assert.h> |