summaryrefslogtreecommitdiffstats
path: root/third_party/zlib/contrib/minizip/mztools.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/zlib/contrib/minizip/mztools.c')
-rw-r--r--third_party/zlib/contrib/minizip/mztools.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/third_party/zlib/contrib/minizip/mztools.c b/third_party/zlib/contrib/minizip/mztools.c
index 8a50ee4..bc19436 100644
--- a/third_party/zlib/contrib/minizip/mztools.c
+++ b/third_party/zlib/contrib/minizip/mztools.c
@@ -8,7 +8,12 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "zlib.h"
+
+#if defined(USE_SYSTEM_ZLIB)
+#include <zlib.h>
+#else
+#include "third_party/zlib/zlib.h"
+#endif
#include "unzip.h"
#define READ_8(adr) ((unsigned char)*(adr))