summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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