23 lines
550 B
Text
23 lines
550 B
Text
$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
|