Mercurial > hg > octave-jordi > gnulib-hg
changeset 17030:b5404feec0ee
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 02 Aug 2012 14:17:33 -0700 |
parents | a3c4b8128bde |
children | 8f51efda6717 |
files | ChangeLog lib/stat-time.c lib/timespec.c lib/u64.c |
diffstat | 4 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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"