summaryrefslogtreecommitdiff
path: root/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch')
-rw-r--r--data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch b/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
new file mode 100644
index 000000000..6f06191ff
--- /dev/null
+++ b/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
@@ -0,0 +1,15 @@
+From: Aurelien Jarno <aurel32@debian.org>
+Subject: #include <unistd.h> for kFreeBSD
+Bug-Debian: https://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;