summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-09-21 12:23:15 +0200
committerAndreas Schneider <mail@cynapses.org>2009-09-21 12:23:47 +0200
commit4133f484ae317909169ad8e1bc689d25cabd9a77 (patch)
treec179f9e1abd377d915de896c2befe9db860c0615 /include/libssh/libssh.h
parent041aff8060ace97ddab83037acdd228727ab9220 (diff)
downloadlibssh-4133f484ae317909169ad8e1bc689d25cabd9a77.tar.gz
libssh-4133f484ae317909169ad8e1bc689d25cabd9a77.tar.xz
libssh-4133f484ae317909169ad8e1bc689d25cabd9a77.zip
Fixed building libssh with MSVC.
Thanks to Carlo Segato for the patch.
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 7e4a99d..8da66a2 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -54,6 +54,7 @@
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;
typedef unsigned long long uint64_t;
+ typedef uint32_t mode_t;
#else /* _MSC_VER */
#include <unistd.h>
#include <inttypes.h>