diff options
Diffstat (limited to 'src/dirname.c')
-rw-r--r-- | src/dirname.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dirname.c b/src/dirname.c index a4209c89a..b6b46d738 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -17,6 +17,17 @@ /* Written by David MacKenzie and Jim Meyering. */ +#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 <sys/types.h> #include <getopt.h> |