aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Neukirchen <dirkneukirchen@web.de>2015-11-10 18:21:57 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2015-11-10 18:27:31 +0100
commit378fcccc0ac914254151f69cebb47e9b2c06bd31 (patch)
tree2b149dfe686c3653cd4aa5b12d1a427abfe6c45a
parent3ed3833a38a63014721fba5d2da0ec5942ddf749 (diff)
downloadlibssh-378fcccc0ac914254151f69cebb47e9b2c06bd31.tar.gz
libssh-378fcccc0ac914254151f69cebb47e9b2c06bd31.tar.xz
libssh-378fcccc0ac914254151f69cebb47e9b2c06bd31.zip
headers: fix missing mode_t
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
-rw-r--r--libssh/patches/002-musl_mode_t.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/libssh/patches/002-musl_mode_t.patch b/libssh/patches/002-musl_mode_t.patch
new file mode 100644
index 00000000..a5975aca
--- /dev/null
+++ b/libssh/patches/002-musl_mode_t.patch
@@ -0,0 +1,10 @@
+--- a/include/libssh/libssh.h
++++ b/include/libssh/libssh.h
+@@ -58,6 +58,7 @@
+ #else /* _MSC_VER */
+ #include <unistd.h>
+ #include <inttypes.h>
++ #include <sys/types.h>
+ #endif /* _MSC_VER */
+
+ #ifdef _WIN32