blob: a2279deae79b7e11ce1458ce4a23357ac69fa05b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.5 2012/04/25 19:35:02 wiz Exp $
More compatible to different versions of zlib.h files.
--- unzip.h.orig 2004-05-22 20:04:23.000000000 -0500
+++ unzip.h
@@ -258,11 +258,16 @@ freely, subject to the following restric
#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 */
#ifdef MODERN
|