summaryrefslogtreecommitdiff
path: root/archivers/unzip/patches/patch-aa
blob: 5d065c549804217483e48dfab1998f72d1720b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.2 1998/08/07 10:35:51 agc Exp $

--- 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 */