diff options
author | Dirk Neukirchen <dirkneukirchen@web.de> | 2015-11-10 18:21:57 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2015-11-10 18:28:45 +0100 |
commit | ec32174abc783bc3a2b44ac1be3b1a8e19e2adba (patch) | |
tree | f862dae521e3bfda60d1588b01b51d9883d136b5 | |
parent | 2172cd234a2a9ed04ebd544182f786a890c2e178 (diff) | |
download | libssh-ec32174abc783bc3a2b44ac1be3b1a8e19e2adba.tar.gz libssh-ec32174abc783bc3a2b44ac1be3b1a8e19e2adba.tar.xz libssh-ec32174abc783bc3a2b44ac1be3b1a8e19e2adba.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.patch | 10 |
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 |