summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-06 16:44:26 +0000
committerJim Meyering <jim@meyering.net>1993-10-06 16:44:26 +0000
commitf2080b7714a4dc451a40c9ba12d4c6125a1e69f5 (patch)
tree1fc76c1b7d92d4010cc1bd278b67a6e540cfabc2 /src/cp.c
parent19cd821ddb4b6c195239870de617a99781e081ce (diff)
downloadcoreutils-f2080b7714a4dc451a40c9ba12d4c6125a1e69f5.tar.xz
merge with 3.8.3b
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cp.c b/src/cp.c
index f0a5ce529..c1ae72c84 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -20,6 +20,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 "cp.h"