diff options
-rw-r--r-- | include/libssh/sftp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index 0ab3aee..729f0ec 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -49,6 +49,15 @@ extern "C" { #define SFTP_DEPRECATED #endif +#ifdef _WIN32 +#ifndef uid_t + typedef long uid_t; +#endif /* uid_t */ +#ifndef gid_t + typedef long gid_t; +#endif /* gid_t */ +#endif /* _WIN32 */ + typedef struct sftp_session_struct { SSH_SESSION *session; CHANNEL *channel; |