]> andersk Git - openssh.git/blobdiff - openbsd-compat/glob.c
- Check for gl_matchc support in glob_t and fall back to the
[openssh.git] / openbsd-compat / glob.c
index 2e2551866e7404b474680aac16bcbc8152b848c2..e2fd7c27f3836b9d2d2389433d5f7278d1b98a79 100644 (file)
@@ -37,7 +37,8 @@
 #include "includes.h"
 #include <ctype.h>
 
-#if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC)
+#if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || \
+    !defined(GLOB_HAS_GL_MATCHC)
 
 #if defined(LIBC_SCCS) && !defined(lint)
 #if 0
@@ -855,5 +856,6 @@ qprintf(str, s)
 }
 #endif
 
-#endif /* !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) */
+#endif /* !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) ||
+          !defined(GLOB_HAS_GL_MATCHC) */
 
This page took 0.029774 seconds and 4 git commands to generate.