From: Timo Sirainen Date: Sat, 1 Nov 2008 16:23:17 +0000 (+0200) Subject: Compiler warning fix in some 32bit systems. X-Git-Tag: 1.2.alpha4~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6adc422fc9b596e0a427d4edaff8029b8008425a;p=thirdparty%2Fdovecot%2Fcore.git Compiler warning fix in some 32bit systems. --HG-- branch : HEAD --- diff --git a/src/plugins/zlib/istream-zlib.c b/src/plugins/zlib/istream-zlib.c index 3626be536a..d1b94b82cb 100644 --- a/src/plugins/zlib/istream-zlib.c +++ b/src/plugins/zlib/istream-zlib.c @@ -3,6 +3,11 @@ #ifdef BZLIB_INCLUDE # define BUILD_SOURCE #else +# include "config.h" +# undef HAVE_CONFIG_H +# if _FILE_OFFSET_BITS == 64 +# define _LARGEFILE64_SOURCE +# endif # include "lib.h" # include "istream-internal.h" # include "istream-zlib.h"