diff options
Diffstat (limited to 'src/cksum.c')
-rw-r--r-- | src/cksum.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cksum.c b/src/cksum.c index a3dd81dfe..f6f7d26a3 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -40,6 +40,17 @@ except foreign language interface (4.9.5.3 of P1003.2/D11.2) support. Any inconsistency with the standard except 4.9.5.3 is a bug. */ +#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 + #ifdef CRCTAB #include <stdio.h> |