summaryrefslogtreecommitdiff
path: root/lib/fnmatch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-12 04:30:50 +0000
committerJim Meyering <jim@meyering.net>1993-10-12 04:30:50 +0000
commit9cfcec5b05d51fd2b2d72adb283b327b08ce868d (patch)
tree804cf6fa977729fd4a77e7a49b03174ec8297581 /lib/fnmatch.c
parentd463bda0668397cf570d6ca3c1f72dc1110eef43 (diff)
downloadcoreutils-9cfcec5b05d51fd2b2d72adb283b327b08ce868d.tar.xz
merge with 3.8.4b
Diffstat (limited to 'lib/fnmatch.c')
-rw-r--r--lib/fnmatch.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index 2fb65b521..863b25e9e 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -16,7 +16,14 @@ 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
#include <errno.h>