From e43e59833f4d39188f8af3ba5d921023fedd28e0 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Thu, 15 Apr 2010 13:33:33 +0400 Subject: [PATCH] BUG#46587 - archive storage engine headers don't include my_global.h first We may end up with a compilation failure on certain platforms because zlib.h is included before my_global.h. Fixed by moving zlib.h inclusion down after my_global.h. --- storage/archive/azlib.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storage/archive/azlib.h b/storage/archive/azlib.h index d7abb40b2ae..29a6329fb0a 100644 --- a/storage/archive/azlib.h +++ b/storage/archive/azlib.h @@ -33,10 +33,9 @@ (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). */ -#include - #include "../../mysys/mysys_priv.h" #include +#include #ifdef __cplusplus extern "C" {