2013-09-26 17:14:40 +02:00

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 */