openbsd-ports/devel/opencm/patches/patch-base_src_common_Buffer_c
2003-12-19 00:11:48 +00:00

16 lines
414 B
Plaintext

$OpenBSD: patch-base_src_common_Buffer_c,v 1.1 2003/12/19 00:11:48 espie Exp $
--- base/src/common/Buffer.c.orig 2003-12-19 01:05:55.000000000 +0100
+++ base/src/common/Buffer.c 2003-12-19 01:06:19.000000000 +0100
@@ -39,7 +39,11 @@
*/
#include <opencm.h>
+#ifdef USE_SYSTEM_ZLIB
+#include <zlib.h>
+#else
#include "../../zlib/zlib.h"
+#endif
#define BUFFER_BLOCK_SIZE 1024
#define ZLIB_BUFFER_SIZE 1024