summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-21 22:08:53 +0000
committerJim Meyering <jim@meyering.net>1993-10-21 22:08:53 +0000
commitd1df8c198d8878b77d1d1583bc7b3c491534616a (patch)
tree716a7debdc7eb431164b5e827db0f8f71a365590 /src/wc.c
parentdf1e389479d422ebf9eb7a08ef3d60238776e9c9 (diff)
downloadcoreutils-d1df8c198d8878b77d1d1583bc7b3c491534616a.tar.xz
merge with 1.8d
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wc.c b/src/wc.c
index 6e67ecb9b..6dce78241 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -18,6 +18,17 @@
/* Written by Paul Rubin, phr@ocf.berkeley.edu
and David MacKenzie, djm@gnu.ai.mit.edu. */
+#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>