aboutsummaryrefslogtreecommitdiffstats
path: root/main/libssh/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-09 13:05:49 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-09 13:05:49 +0000
commite1bf5a082780fb3b5846a601520730e273ec5ecc (patch)
treebac5acf95dc7e43a1208a615614facad20458402 /main/libssh/fix-includes.patch
parent07fb56c6eedee9722b3c8daf4fceae972a841510 (diff)
downloadaports-e1bf5a082780fb3b5846a601520730e273ec5ecc.tar.bz2
aports-e1bf5a082780fb3b5846a601520730e273ec5ecc.tar.xz
main/libssh: fix musl build
Diffstat (limited to 'main/libssh/fix-includes.patch')
-rw-r--r--main/libssh/fix-includes.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/libssh/fix-includes.patch b/main/libssh/fix-includes.patch
new file mode 100644
index 0000000000..1151353698
--- /dev/null
+++ b/main/libssh/fix-includes.patch
@@ -0,0 +1,10 @@
+--- libssh-0.5.5.orig/include/libssh/libssh.h
++++ libssh-0.5.5/include/libssh/libssh.h
+@@ -57,6 +57,7 @@
+ typedef unsigned long long uint64_t;
+ typedef int mode_t;
+ #else /* _MSC_VER */
++ #include <sys/types.h>
+ #include <unistd.h>
+ #include <inttypes.h>
+ #endif /* _MSC_VER */