From 45b14dbddc244bba8c17d71186c2bc49b355636a Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sat, 17 Mar 2001 01:15:38 +0000 Subject: - Check for gl_matchc support in glob_t and fall back to the openbsd-compat/glob.[ch] support if it does not exist. --- includes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes.h') 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 #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 #endif #ifdef HAVE_NETGROUP_H -- cgit v1.2.3