diff options
author | Andreas Schneider <mail@cynapses.org> | 2010-05-12 20:52:02 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2010-05-12 21:01:18 +0200 |
commit | b1b42aeb9c2e16dbb990e26e96c7e1c4a277dd28 (patch) | |
tree | fae172f72f0daabadc6d0f32429f1884756c5ffa /libssh/misc.c | |
parent | 56c867edfaa0640b443fba60697f06e603cbbbe5 (diff) | |
download | libssh-b1b42aeb9c2e16dbb990e26e96c7e1c4a277dd28.tar.gz libssh-b1b42aeb9c2e16dbb990e26e96c7e1c4a277dd28.tar.xz libssh-b1b42aeb9c2e16dbb990e26e96c7e1c4a277dd28.zip |
win: Added missing includes with newer MSCV.
Diffstat (limited to 'libssh/misc.c')
-rw-r--r-- | libssh/misc.c | 3 |
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 |