summaryrefslogtreecommitdiff
path: root/src/paste.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/paste.c')
-rw-r--r--src/paste.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/paste.c b/src/paste.c
index 24c617db5..d4a0f9295 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -38,6 +38,17 @@
A FILE of `-' means standard input.
If no FILEs are given, standard input is used. */
+#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>