diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-17 01:15:38 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-17 01:15:38 +0000 |
commit | 45b14dbddc244bba8c17d71186c2bc49b355636a (patch) | |
tree | 379b4872dcd775fc18feff237342aa331d63031a /includes.h | |
parent | 7bb8b49596156b85df403d09c2195e2533ec372c (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |