* lib/stat-time.c, lib/timespec.c, lib/u64.c:
Use '#include "foo.h"', not '#include <foo.h>', when including
one's own interface.  This works better when configuring with
out-of-directory builds, since packages need not add an
otherwise-unnecessary -I$(topdir_src)/lib to DEFAULT_INCLUDES.
---
 ChangeLog       |    9 +++++++++
 lib/stat-time.c |    2 +-
 lib/timespec.c  |    2 +-
 lib/u64.c       |    2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a00e445..62bb873 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-08-02  Paul Eggert  <egg...@cs.ucla.edu>
+
+       stat-time, timespec, u64: support naive out-of-dir builds
+       * lib/stat-time.c, lib/timespec.c, lib/u64.c:
+       Use '#include "foo.h"', not '#include <foo.h>', when including
+       one's own interface.  This works better when configuring with
+       out-of-directory builds, since packages need not add an
+       otherwise-unnecessary -I$(topdir_src)/lib to DEFAULT_INCLUDES.
+
 2012-08-01  Paul Eggert  <egg...@cs.ucla.edu>
 
        utimens: use extern-inline
diff --git a/lib/stat-time.c b/lib/stat-time.c
index 1a907ef..81b83dd 100644
--- a/lib/stat-time.c
+++ b/lib/stat-time.c
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE
-#include <stat-time.h>
+#include "stat-time.h"
diff --git a/lib/timespec.c b/lib/timespec.c
index 16a7764..2b6098e 100644
--- a/lib/timespec.c
+++ b/lib/timespec.c
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE
-#include <timespec.h>
+#include "timespec.h"
diff --git a/lib/u64.c b/lib/u64.c
index 30dcb45..04cf7a2 100644
--- a/lib/u64.c
+++ b/lib/u64.c
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_U64_INLINE _GL_EXTERN_INLINE
-#include <u64.h>
+#include "u64.h"
-- 
1.7.6.5


Reply via email to