summaryrefslogtreecommitdiff
path: root/archivers/unzip/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/unzip/patches/patch-aa')
-rw-r--r--archivers/unzip/patches/patch-aa18
1 files changed, 18 insertions, 0 deletions
diff --git a/archivers/unzip/patches/patch-aa b/archivers/unzip/patches/patch-aa
new file mode 100644
index 00000000000..c103401062a
--- /dev/null
+++ b/archivers/unzip/patches/patch-aa
@@ -0,0 +1,18 @@
+--- unzip.h.orig Sat Oct 18 18:58:07 1997
++++ unzip.h Sat Jun 20 18:33:18 1998
+@@ -175,10 +175,15 @@
+ #endif
+
+ /* used to remove arguments in function prototypes for non-ANSI C */
++#ifdef USE_ZLIB
++#include <zconf.h>
++#ifndef OF
+ #ifdef PROTO
+ # define OF(a) a
+ #else
+ # define OF(a) ()
++#endif
++#endif
+ #endif
+
+ /* enable the "const" keyword only if MODERN and if not otherwise instructed */