summaryrefslogtreecommitdiff
path: root/src/cut.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cut.c')
-rw-r--r--src/cut.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cut.c b/src/cut.c
index 9a056c75c..4953afc04 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -57,6 +57,17 @@
A FILE of `-' means standard input. */
+#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
+
/* Get isblank from GNU libc. */
#define _GNU_SOURCE