[dovecot-cvs] dovecot/src/lib lib.h, 1.18, 1.19 sendfile-util.c,
1.12, 1.13
cras at dovecot.org
cras at dovecot.org
Tue Jul 12 16:06:21 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv27837/src/lib
Modified Files:
lib.h sendfile-util.c
Log Message:
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..
Index: lib.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/lib.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- lib.h 4 Jul 2005 11:32:19 -0000 1.18
+++ lib.h 12 Jul 2005 13:06:18 -0000 1.19
@@ -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.. */
Index: sendfile-util.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/sendfile-util.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- sendfile-util.c 15 Jan 2005 18:15:52 -0000 1.12
+++ sendfile-util.c 12 Jul 2005 13:06:18 -0000 1.13
@@ -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
More information about the dovecot-cvs
mailing list