diff options
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r-- | libssh/keyfiles.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c index 79b3bfe..ba9a051 100644 --- a/libssh/keyfiles.c +++ b/libssh/keyfiles.c @@ -34,6 +34,15 @@ #include <stdlib.h> #ifndef _WIN32 +#if _MSC_VER >= 1400 +#include <io.h> +#undef open +#define open _open +#undef close +#define close _close +#undef read +#define read _read +#endif /* _MSC_VER */ #include <arpa/inet.h> #endif |