summaryrefslogtreecommitdiff
path: root/archivers/unzip/patches/patch-aa
blob: c103401062a68fdcd57e5c01ff13d663bb43d34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */