aboutsummaryrefslogtreecommitdiff
path: root/libssh/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/misc.c')
-rw-r--r--libssh/misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/misc.c b/libssh/misc.c
index b2b6ae1..552c0a2 100644
--- a/libssh/misc.c
+++ b/libssh/misc.c
@@ -38,6 +38,9 @@
#include <ws2tcpip.h>
#include <shlobj.h>
#include <direct.h>
+#if _MSC_VER >= 1400
+#include <io.h>
+#endif /* _MSC_VER */
#else /* _WIN32 */
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS