diff options
Diffstat (limited to 'src/pathchk.c')
-rw-r--r-- | src/pathchk.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index e6da04ea2..ee14ffc4e 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -38,6 +38,17 @@ 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$srcdir will use ./config.h rather than $srcdir/config.h + (which it would do because it found this file in $srcdir). */ +#include <config.h> +#else +#include "config.h" +#endif +#endif + #include <stdio.h> #include <getopt.h> #include <sys/types.h> |