summaryrefslogtreecommitdiff
path: root/src/uniq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uniq.c')
-rw-r--r--src/uniq.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/uniq.c b/src/uniq.c
index 9323397ba..6ba6b6869 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -17,6 +17,17 @@
/* Written by Richard Stallman and David MacKenzie. */
+#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