diff options
author | Jim Meyering <jim@meyering.net> | 1993-10-06 16:44:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-10-06 16:44:26 +0000 |
commit | f2080b7714a4dc451a40c9ba12d4c6125a1e69f5 (patch) | |
tree | 1fc76c1b7d92d4010cc1bd278b67a6e540cfabc2 /lib/makepath.c | |
parent | 19cd821ddb4b6c195239870de617a99781e081ce (diff) | |
download | coreutils-f2080b7714a4dc451a40c9ba12d4c6125a1e69f5.tar.xz |
merge with 3.8.3b
Diffstat (limited to 'lib/makepath.c')
-rw-r--r-- | lib/makepath.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/makepath.c b/lib/makepath.c index 7699c178d..be5f8c347 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -18,6 +18,17 @@ /* Written by David MacKenzie <djm@gnu.ai.mit.edu> and Jim Meyering <meyering@cs.utexas.edu>. */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use <config.h> instead of "config.h" so that a compilation + using -I. -I will use ./config.h rather than /config.h + (which it would do because it found this file in ). */ +#include <config.h> +#else +#include "config.h" +#endif +#endif + #ifdef __GNUC__ #define alloca __builtin_alloca #else @@ -32,6 +43,17 @@ char *alloca (); #endif #endif +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use <config.h> instead of "config.h" so that a compilation + using -I. -I will use ./config.h rather than /config.h + (which it would do because it found this file in ). */ +#include <config.h> +#else +#include "config.h" +#endif +#endif + #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> |