summaryrefslogtreecommitdiff
path: root/src/od.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/od.c b/src/od.c
index 698630071..c5c853bc8 100644
--- a/src/od.c
+++ b/src/od.c
@@ -18,6 +18,17 @@
/* Written by Jim Meyering. */
/* AIX requires this to be the first thing in the file. */
+#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
+
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not __GNUC__ */