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