changeset 6623:dde1980eccae HEAD

We need to include config.h before checking HAVE_* macros.
author Timo Sirainen <tss@iki.fi>
date Sat, 27 Oct 2007 19:03:17 +0300
parents d6cc55e018fe
children 91a003d00b4e
files src/lib/file-set-size.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,5 +1,9 @@
 /* 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 */
 #endif