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

21 lines
508 B
Plaintext

$NetBSD: patch-ai,v 1.3 2006/03/18 15:56:00 ben Exp $
--- unzip/unzip.h.orig 2004-12-30 14:15:45.000000000 -0800
+++ unzip/unzip.h
@@ -49,6 +49,15 @@ extern "C" {
#include "zlib.h"
#endif
+/* removed in NetBSD around 2001/01/18 */
+#ifndef OF
+# 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 */