mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
d09907238d
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 :)
25 lines
526 B
Plaintext
25 lines
526 B
Plaintext
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
|