summaryrefslogtreecommitdiff
path: root/lib/dirname.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 /lib/dirname.c
parent19cd821ddb4b6c195239870de617a99781e081ce (diff)
downloadcoreutils-f2080b7714a4dc451a40c9ba12d4c6125a1e69f5.tar.xz
merge with 3.8.3b
Diffstat (limited to 'lib/dirname.c')
-rw-r--r--lib/dirname.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/dirname.c b/lib/dirname.c
index 5a92ce557..8e365ed92 100644
--- a/lib/dirname.c
+++ b/lib/dirname.c
@@ -15,6 +15,17 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#ifdef HAVE_CONFIG_H
+#if defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+ using -I. -I will use ./config.h rather than /config.h
+ (which it would do because it found this file in ). */
+#include <config.h>
+#else
+#include "config.h"
+#endif
+#endif
+
#ifdef STDC_HEADERS
#include <stdlib.h>
#else