summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-28 17:59:52 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-28 17:59:52 +0100
commitdede3aea22640d9b036f358b228aa611da6bc0d9 (patch)
treea0cfea7cc30af4f293cff1f9db9c7802be008551 /common
parent882c8f34779ac88a544d3020a90a677042fa7067 (diff)
downloadlibtdevnc-dede3aea22640d9b036f358b228aa611da6bc0d9.tar.gz
libtdevnc-dede3aea22640d9b036f358b228aa611da6bc0d9.zip
Fix LibVNCClient compilation with MSVC 2014
Diffstat (limited to 'common')
-rw-r--r--common/vncauth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/vncauth.c b/common/vncauth.c
index 0b20f53..2a5d96f 100644
--- a/common/vncauth.c
+++ b/common/vncauth.c
@@ -31,7 +31,9 @@
#endif
#include <stdio.h>
#include <stdlib.h>
+#ifdef LIBVNCSERVER_HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <rfb/rfbproto.h>
#include "d3des.h"