summaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/zutil.h b/zutil.h
index 755479d..4889c21 100644
--- a/zutil.h
+++ b/zutil.h
@@ -24,7 +24,11 @@
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
-#include "zlib.h"
+#ifdef ZLIB_COMPAT
+# include "zlib.h"
+#else
+# include "zlib-ng.h"
+#endif
typedef unsigned char uch; /* Included for compatibility with external code only */
typedef uint16_t ush; /* Included for compatibility with external code only */