summaryrefslogtreecommitdiff
path: root/zlib/gzio.c
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/gzio.c')
-rw-r--r--zlib/gzio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/zlib/gzio.c b/zlib/gzio.c
index afac5352323..ed4e77ca7e9 100644
--- a/zlib/gzio.c
+++ b/zlib/gzio.c
@@ -7,10 +7,15 @@
/* @(#) $Id$ */
-#include "zutil.h"
+/* Need to be included "early" to control other headers */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
+#include "zutil.h"
+
#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS
#endif