summaryrefslogtreecommitdiff
path: root/zlib/gzio.c
diff options
context:
space:
mode:
authorunknown <SergeyV@selena.>2006-01-12 17:32:39 +0300
committerunknown <SergeyV@selena.>2006-01-12 17:32:39 +0300
commit988584f0dde5433f286d5a1d2740c1f73314cb86 (patch)
tree3881e4468cb42cb2d2e1c0fe20a518e418139872 /zlib/gzio.c
parent35d46cee7c1114893cb9cccefa2113aee22ad8dd (diff)
downloadmariadb-git-988584f0dde5433f286d5a1d2740c1f73314cb86.tar.gz
Fixes bug #15787. Fix makes available _FILE_OFFSET_BITS definition for
zlib library in order to enable support of files larger than 2Gb. Providing an effective test is hardly possible, since the problem starts only when archive table becomes larger than 2Gb. zlib/gzio.c: Move include of zutil.h on top of gzio.c to include chain of zutil.h->zlib.h->zconf.h->config.h before including anything else. zlib/zconf.h: Includes config.h in order to make _FILE_OFFSET_BITS definition available.
Diffstat (limited to 'zlib/gzio.c')
-rw-r--r--zlib/gzio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zlib/gzio.c b/zlib/gzio.c
index 7e90f4928fc..afac5352323 100644
--- a/zlib/gzio.c
+++ b/zlib/gzio.c
@@ -7,10 +7,10 @@
/* @(#) $Id$ */
-#include <stdio.h>
-
#include "zutil.h"
+#include <stdio.h>
+
#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS
#endif