summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-17 01:15:38 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-17 01:15:38 +0000
commit45b14dbddc244bba8c17d71186c2bc49b355636a (patch)
tree379b4872dcd775fc18feff237342aa331d63031a /includes.h
parent7bb8b49596156b85df403d09c2195e2533ec372c (diff)
- Check for gl_matchc support in glob_t and fall back to the
openbsd-compat/glob.[ch] support if it does not exist.
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes.h b/includes.h
index 3f834ba8..8b7bb0ed 100644
--- a/includes.h
+++ b/includes.h
@@ -54,7 +54,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#ifdef HAVE_BSTRING_H
# include <bstring.h>
#endif
-#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC)
+#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
+ defined(GLOB_HAS_GL_MATCHC)
# include <glob.h>
#endif
#ifdef HAVE_NETGROUP_H