summaryrefslogtreecommitdiff
path: root/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'glob.c')
-rw-r--r--glob.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/glob.c b/glob.c
index 09a47e0aa4..57723d8fc7 100644
--- a/glob.c
+++ b/glob.c
@@ -95,7 +95,11 @@
# endif /* !SHELL */
#endif /* OPENDIR_NOT_ROBUST */
-#include "fnmatch.h"
+#ifdef HAVE_FNMATCH_H
+#include <fnmatch.h>
+#else
+#include "missing/fnmatch.h"
+#endif
extern void *xmalloc (), *xrealloc ();
#if !defined (HAVE_STDLIB_H)