diff options
author | Daniel Cohen Gindi <danielgindi@gmail.com> | 2014-09-20 17:22:45 +0300 |
---|---|---|
committer | Daniel Cohen Gindi <danielgindi@gmail.com> | 2014-09-20 17:46:34 +0300 |
commit | a7f79b696e8c7afa455464f2d6612816c55740c2 (patch) | |
tree | 92f5f8a18ce24ae4d675cc3d4669ba9263d1bf81 | |
parent | e69e1efd753eabbffcc0ff6655022fea1f5989fa (diff) | |
download | libvncserver-a7f79b696e8c7afa455464f2d6612816c55740c2.zip libvncserver-a7f79b696e8c7afa455464f2d6612816c55740c2.tar.gz |
These are UNIX headers, and are not available on MSVC
-rw-r--r-- | libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c | 5 |
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> |