summaryrefslogtreecommitdiff
path: root/unzip/patches/03-include-unistd-for-kfreebsd
diff options
context:
space:
mode:
Diffstat (limited to 'unzip/patches/03-include-unistd-for-kfreebsd')
-rw-r--r--unzip/patches/03-include-unistd-for-kfreebsd15
1 files changed, 15 insertions, 0 deletions
diff --git a/unzip/patches/03-include-unistd-for-kfreebsd b/unzip/patches/03-include-unistd-for-kfreebsd
new file mode 100644
index 0000000..d2875e2
--- /dev/null
+++ b/unzip/patches/03-include-unistd-for-kfreebsd
@@ -0,0 +1,15 @@
+From: Aurelien Jarno <aurel32@debian.org>
+Subject: #include <unistd.h> for kFreeBSD
+Bug-Debian: http://bugs.debian.org/340693
+X-Debian-version: 5.52-8
+
+--- a/unix/unxcfg.h
++++ b/unix/unxcfg.h
+@@ -52,6 +52,7 @@
+
+ #include <sys/types.h> /* off_t, time_t, dev_t, ... */
+ #include <sys/stat.h>
++#include <unistd.h>
+
+ #ifdef NO_OFF_T
+ typedef long zoff_t;