summaryrefslogtreecommitdiff
path: root/src/pr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pr.c')
-rw-r--r--src/pr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pr.c b/src/pr.c
index 3451fa38b..9ac5a99d2 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -94,6 +94,17 @@
-w width Set the page width to WIDTH characters. */
+#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>