dovecot: We need to include config.h before checking HAVE_* macros.

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 27 19:03:21 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/dde1980eccae
changeset: 6623:dde1980eccae
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 27 19:03:17 2007 +0300
description:
We need to include config.h before checking HAVE_* macros.

diffstat:

1 file changed, 4 insertions(+)
src/lib/file-set-size.c |    4 ++++

diffs (12 lines):

diff -r d6cc55e018fe -r dde1980eccae src/lib/file-set-size.c
--- a/src/lib/file-set-size.c	Sat Oct 27 19:02:07 2007 +0300
+++ b/src/lib/file-set-size.c	Sat Oct 27 19:03:17 2007 +0300
@@ -1,4 +1,8 @@
 /* Copyright (c) 2002-2007 Dovecot authors, see the included COPYING file */
+
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
 
 #ifdef HAVE_POSIX_FALLOCATE
 #  define _XOPEN_SOURCE 600 /* Required by glibc, breaks Solaris 9 */


More information about the dovecot-cvs mailing list