mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
21 lines
563 B
Plaintext
21 lines
563 B
Plaintext
$NetBSD: patch-aa,v 1.2 2006/04/17 14:50:47 wiz Exp $
|
|
|
|
--- src/unzip.h.orig Sun Oct 20 06:03:12 2002
|
|
+++ src/unzip.h Mon Jun 30 23:45:30 2003
|
|
@@ -68,6 +68,15 @@
|
|
#include "zlib.h"
|
|
#endif
|
|
|
|
+// nasty stuff taken from win32/include/zlib/zconf.h to make this compile
|
|
+#ifndef OF /* function prototypes */
|
|
+# ifdef STDC
|
|
+# define OF(args) args
|
|
+# else
|
|
+# define OF(args) ()
|
|
+# endif
|
|
+#endif
|
|
+
|
|
#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
|
|
/* like the STRICT of WIN32, we define a pointer that cannot be converted
|
|
from (void*) without cast */
|