summaryrefslogtreecommitdiff
path: root/src/mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mv.c')
-rw-r--r--src/mv.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mv.c b/src/mv.c
index 5029c7a76..a5d22eb8e 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -40,6 +40,18 @@
#ifdef _AIX
#pragma alloca
#endif
+
+#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>