summaryrefslogtreecommitdiff
path: root/src/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat.c')
-rw-r--r--src/cat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cat.c b/src/cat.c
index 70d1c6854..8cbc61f7d 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -22,6 +22,17 @@
By tege@sics.se, Torbjorn Granlund, advised by rms, Richard Stallman. */
+#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 <getopt.h>
#include <sys/types.h>