summaryrefslogtreecommitdiff
path: root/package/libssh/patches/patch-include_libssh_libssh_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2014-01-11 12:16:39 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2014-01-11 12:16:39 +0100
commitabb858ae43374dc13a5fcef19b9e0ba9442013bb (patch)
tree5ea278d2399c1399e92cab8b38a4fbb906117761 /package/libssh/patches/patch-include_libssh_libssh_h
parent21b2edcd27d36e8c579458c6b55ff665c071102f (diff)
fix libssh compile on Darwin
Diffstat (limited to 'package/libssh/patches/patch-include_libssh_libssh_h')
-rw-r--r--package/libssh/patches/patch-include_libssh_libssh_h10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libssh/patches/patch-include_libssh_libssh_h b/package/libssh/patches/patch-include_libssh_libssh_h
new file mode 100644
index 000000000..8811f79fb
--- /dev/null
+++ b/package/libssh/patches/patch-include_libssh_libssh_h
@@ -0,0 +1,10 @@
+--- libssh-0.5.3.orig/include/libssh/libssh.h 2012-11-20 12:41:49.000000000 +0100
++++ libssh-0.5.3/include/libssh/libssh.h 2014-01-11 12:04:00.000000000 +0100
+@@ -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 */