summaryrefslogtreecommitdiff
path: root/archivers/unzip/patches/patch-aa
blob: e190c7b6cce0ba38f1b7836d0285a63feb2a6db1 (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.3 1998/12/30 04:06:35 tv 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>
+#endif
+#ifndef OF
 #ifdef PROTO
 #  define OF(a) a
 #else
 #  define OF(a) ()
+#endif
 #endif
 
 /* enable the "const" keyword only if MODERN and if not otherwise instructed */