summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:22:45 +0300
committerDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:46:34 +0300
commita7f79b696e8c7afa455464f2d6612816c55740c2 (patch)
tree92f5f8a18ce24ae4d675cc3d4669ba9263d1bf81
parente69e1efd753eabbffcc0ff6655022fea1f5989fa (diff)
downloadlibvncserver-a7f79b696e8c7afa455464f2d6612816c55740c2.zip
libvncserver-a7f79b696e8c7afa455464f2d6612816c55740c2.tar.gz
These are UNIX headers, and are not available on MSVC
-rw-r--r--libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c b/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c
index 2bd5ba1..5517c85 100644
--- a/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c
+++ b/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c
@@ -22,13 +22,18 @@
* Date : 14th July 2005
*/
+#ifndef _MSC_VER
#include <pwd.h>
+#endif /* _MSC_VER
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#ifndef _MSC_VER
#include <dirent.h>
#include <pthread.h>
+#endif /* _MSC_VER
#include <sys/stat.h>
#include <sys/types.h>
#include <limits.h>
OpenPOWER on IntegriCloud