dovecot-1.1: Compiler warning fix in some 32bit systems.

dovecot at dovecot.org dovecot at dovecot.org
Sat Nov 1 18:23:23 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/ee14c42b3d1b
changeset: 7995:ee14c42b3d1b
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Nov 01 18:23:02 2008 +0200
description:
Compiler warning fix in some 32bit systems.

diffstat:

1 file changed, 5 insertions(+)
src/plugins/zlib/istream-zlib.c |    5 +++++

diffs (15 lines):

diff -r cbde69815b8a -r ee14c42b3d1b src/plugins/zlib/istream-zlib.c
--- a/src/plugins/zlib/istream-zlib.c	Fri Oct 31 18:35:27 2008 +0200
+++ b/src/plugins/zlib/istream-zlib.c	Sat Nov 01 18:23:02 2008 +0200
@@ -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"


More information about the dovecot-cvs mailing list