]> andersk Git - openssh.git/blobdiff - openbsd-compat/glob.h
- Check for gl_matchc support in glob_t and fall back to the
[openssh.git] / openbsd-compat / glob.h
index 392c63b675bd94bf0b6d10a44538aa01dded777d..a08cee5726c319585986ea3d951c148ed6edaad1 100644 (file)
@@ -39,7 +39,8 @@
  *     @(#)glob.h      8.1 (Berkeley) 6/2/93
  */
 
-#if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC)
+#if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || \
+    !defined(GLOB_HAS_GL_MATCHC)
 
 #ifndef _GLOB_H_
 #define        _GLOB_H_
@@ -94,5 +95,6 @@ void  globfree __P((glob_t *));
 
 #endif /* !_GLOB_H_ */
 
-#endif /* !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) */
+#endif /* !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC)  ||
+         !defined(GLOB_HAS_GL_MATCHC */
 
This page took 0.249033 seconds and 4 git commands to generate.