]> Savannah Git Hosting - gnulib.git/commitdiff
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 a00e44582c34cb4430bc7310c0afb085318970fa..62bb873e602271a4bd0111b6addbab5ab22da366 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 1a907ef250b29a37edad5040b80072632e7d5229..81b83ddb4fec1cc3a03ede18e63227f2c7ee6157 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 16a776472280a71459d95b4c79b1de9b48d24f13..2b6098ed7bd9f2380eaa71070d6d9cf896ddce64 100644 (file)
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE
-#include <timespec.h>
+#include "timespec.h"
index 30dcb45b61f3707ce5603ac54e3b260901c13e88..04cf7a299465f1f5e34e65916263e16fb54fda3e 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"