freebsd-ports/emulators/snes9x/files/patch-ah
Brian Feldman d09907238d Snes9X needs to _not_ have USE_THREADS auto-defined for FreeBSD in
unix/unix.cpp to build, especially when the Makefile does not have it
defined.  Also, along with this, split the patches out into the
customary one-file-per-patch chunks.

I'm not ${MAINTAINER}, but nacai does not mind my working on the
port :)
1999-12-29 07:12:58 +00:00

24 lines
526 B
Text

diff -ru ../../work/release/unzip/unzip.h ./unzip/unzip.h
--- ../../work/release/unzip/unzip.h Wed Aug 25 05:52:56 1999
+++ ./unzip/unzip.h Wed Dec 29 01:54:04 1999
@@ -41,13 +41,17 @@
#ifndef _unz_H
#define _unz_H
+#include <sys/types.h>
+
+#ifndef _ZLIB_H
+#include <zlib.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef _ZLIB_H
-#include "zlib.h"
-#endif
+#define ZEXPORT
#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
/* like the STRICT of WIN32, we define a pointer that cannot be converted