commit | 45b14dbddc244bba8c17d71186c2bc49b355636a | [log] [tgz] |
---|---|---|
author | Ben Lindstrom <mouring@eviladmin.org> | Sat Mar 17 01:15:38 2001 +0000 |
committer | Ben Lindstrom <mouring@eviladmin.org> | Sat Mar 17 01:15:38 2001 +0000 |
tree | 379b4872dcd775fc18feff237342aa331d63031a | |
parent | 7bb8b49596156b85df403d09c2195e2533ec372c [diff] [blame] |
- Check for gl_matchc support in glob_t and fall back to the openbsd-compat/glob.[ch] support if it does not exist.
diff --git a/includes.h b/includes.h index 3f834ba..8b7bb0e 100644 --- a/includes.h +++ b/includes.h
@@ -54,7 +54,8 @@ #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