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
commit36e4c7d281e73897e35fb82e7aa81bddab560f74 (patch)
tree1144c1fade59909c31d049657b350a55d2a9d921 /zlib
parent194d6875c6a8a5f7b478d429e18e63c983dc11ef (diff)
downloadmariadb-git-36e4c7d281e73897e35fb82e7aa81bddab560f74.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"