summaryrefslogtreecommitdiff
path: root/unzip/patches/03-include-unistd-for-kfreebsd
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-04-17 16:22:04 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-04-17 16:22:04 +0400
commit442b6bb69f03a09fa246f1278e7d5aa9f0da955c (patch)
tree509f842e734c60c51add3f8fd69b1b94bf6b19f7 /unzip/patches/03-include-unistd-for-kfreebsd
parentb24bf5235b902a703ab77c9d4b47e11e173482b4 (diff)
downloadcibs-pkgs-442b6bb69f03a09fa246f1278e7d5aa9f0da955c.tar.gz
UnZip 6.0
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;