pkgsrc - initial commit
[pkgsrc.git] / archivers / unzip / patches / patch-aa
1 $NetBSD: patch-aa,v 1.4 2004/06/01 04:31:42 minskim Exp $
2
3 --- unzip.h.orig        2004-05-22 20:04:23.000000000 -0500
4 +++ unzip.h
5 @@ -258,11 +258,16 @@ freely, subject to the following restric
6  #endif
7  
8  /* used to remove arguments in function prototypes for non-ANSI C */
9 +#ifdef USE_ZLIB
10 +#include <zconf.h>
11 +#endif
12 +#ifndef OF
13  #ifdef PROTO
14  #  define OF(a) a
15  #else
16  #  define OF(a) ()
17  #endif
18 +#endif
19  
20  /* enable the "const" keyword only if MODERN and if not otherwise instructed */
21  #ifdef MODERN