Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3476:bb88b67d72b2 HEAD
Include just "config.h", not "../../config.h". The absolute path breaks
compiling elsewhere than source tree. It was earlier added to avoid some
global config.h files, but those shouldn't exist..
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 12 Jul 2005 16:06:18 +0300 |
parents | ed186c6bbfd8 |
children | b92ec14d29ef |
files | src/lib/lib.h src/lib/sendfile-util.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/lib.h Tue Jul 12 16:04:36 2005 +0300 +++ b/src/lib/lib.h Tue Jul 12 16:06:18 2005 +0300 @@ -3,7 +3,7 @@ /* default lib includes */ #ifdef HAVE_CONFIG_H -# include "../../config.h" +# include "config.h" #endif /* default system includes - keep these at minimum.. */
--- a/src/lib/sendfile-util.c Tue Jul 12 16:04:36 2005 +0300 +++ b/src/lib/sendfile-util.c Tue Jul 12 16:06:18 2005 +0300 @@ -2,7 +2,7 @@ /* kludge a bit to remove _FILE_OFFSET_BITS definition from config.h. It's required to be able to include sys/sendfile.h with Linux. */ -#include "../../config.h" +#include "config.h" #undef HAVE_CONFIG_H #ifdef HAVE_LINUX_SENDFILE