stat-time, timespec, u64: support naive out-of-dir builds
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2012 21:17:33 +0000 (14:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2012 21:17:56 +0000 (14:17 -0700)
* 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
lib/stat-time.c
lib/timespec.c
lib/u64.c

index a00e445..62bb873 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-08-02  Paul Eggert  <eggert@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  <eggert@cs.ucla.edu>
 
        utimens: use extern-inline
index 1a907ef..81b83dd 100644 (file)
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE
-#include <stat-time.h>
+#include "stat-time.h"
index 16a7764..2b6098e 100644 (file)
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE
-#include <timespec.h>
+#include "timespec.h"
index 30dcb45..04cf7a2 100644 (file)
--- 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"