1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

Fix build on Windows.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@238 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-03-08 09:48:31 +00:00
parent b9e6ce934d
commit e1a1796783

View File

@@ -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;