# HG changeset patch # User Paul Eggert # Date 1343942253 25200 # Node ID b5404feec0ee3a9304ff7d28603555bcc4aa8dc9 # Parent a3c4b8128bde5db2f8337d227e47128feb2aeea8 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 ', 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2012-08-02 Paul Eggert + + 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 ', 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 utimens: use extern-inline diff --git a/lib/stat-time.c b/lib/stat-time.c --- a/lib/stat-time.c +++ b/lib/stat-time.c @@ -1,3 +1,3 @@ #include #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE -#include +#include "stat-time.h" diff --git a/lib/timespec.c b/lib/timespec.c --- a/lib/timespec.c +++ b/lib/timespec.c @@ -1,3 +1,3 @@ #include #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE -#include +#include "timespec.h" diff --git a/lib/u64.c b/lib/u64.c --- a/lib/u64.c +++ b/lib/u64.c @@ -1,3 +1,3 @@ #include #define _GL_U64_INLINE _GL_EXTERN_INLINE -#include +#include "u64.h"