diff options
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test.c b/src/test.c index d905c63e6..658a30f29 100644 --- a/src/test.c +++ b/src/test.c @@ -24,6 +24,17 @@ the shell builtin version. */ /* #define TEST_STANDALONE */ +#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> |