diff options
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/touch.c b/src/touch.c index 152a27e84..dc1d06f95 100644 --- a/src/touch.c +++ b/src/touch.c @@ -32,6 +32,17 @@ Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. */ +#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 <ctype.h> #include <getopt.h> |