summaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorKent Boortz <kent@kent-amd64>2008-10-13 14:23:39 +0200
committerKent Boortz <kent@kent-amd64>2008-10-13 14:23:39 +0200
commit12173de37bf7fd777f865f8745d8786508ee5094 (patch)
tree1144c1fade59909c31d049657b350a55d2a9d921 /zlib
parent8acc0f5537fdff6b92315c9553d6cb0267125de6 (diff)
downloadmariadb-git-12173de37bf7fd777f865f8745d8786508ee5094.tar.gz
The header "config.h" needs to be included "early" to control other headers.
This time the inclusion of <stdio.h> before "config.h" enabled legacy large file support, seek64() and similar, on AIX breaking the compile of "gzio.c"
Diffstat (limited to 'zlib')
-rw-r--r--zlib/gzio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zlib/gzio.c b/zlib/gzio.c
index 7e90f4928fc..ed4e77ca7e9 100644
--- a/zlib/gzio.c
+++ b/zlib/gzio.c
@@ -7,6 +7,11 @@
/* @(#) $Id$ */
+/* Need to be included "early" to control other headers */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include "zutil.h"