summaryrefslogtreecommitdiff
path: root/emulators/fceu/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fceu/patches/patch-ac')
-rw-r--r--emulators/fceu/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/fceu/patches/patch-ac b/emulators/fceu/patches/patch-ac
new file mode 100644
index 00000000000..293cc093bc8
--- /dev/null
+++ b/emulators/fceu/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
+
+NetBSD's zlib.h does not define OF().
+
+--- src/unzip.h.orig 2004-01-21 21:50:00.000000000 +0100
++++ src/unzip.h
+@@ -58,6 +58,9 @@ typedef unzFile__ *unzFile;
+ typedef voidp unzFile;
+ #endif
+
++#ifndef OF
++#define OF(a) a
++#endif
+
+ #define UNZ_OK (0)
+ #define UNZ_END_OF_LIST_OF_FILE (-100)