diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/glob.c | 6 | ||||
-rw-r--r-- | openbsd-compat/glob.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c index 2e2551866..e2fd7c27f 100644 --- a/openbsd-compat/glob.c +++ b/openbsd-compat/glob.c | |||
@@ -37,7 +37,8 @@ | |||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | #include <ctype.h> | 38 | #include <ctype.h> |
39 | 39 | ||
40 | #if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) | 40 | #if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || \ |
41 | !defined(GLOB_HAS_GL_MATCHC) | ||
41 | 42 | ||
42 | #if defined(LIBC_SCCS) && !defined(lint) | 43 | #if defined(LIBC_SCCS) && !defined(lint) |
43 | #if 0 | 44 | #if 0 |
@@ -855,5 +856,6 @@ qprintf(str, s) | |||
855 | } | 856 | } |
856 | #endif | 857 | #endif |
857 | 858 | ||
858 | #endif /* !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) */ | 859 | #endif /* !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || |
860 | !defined(GLOB_HAS_GL_MATCHC) */ | ||
859 | 861 | ||
diff --git a/openbsd-compat/glob.h b/openbsd-compat/glob.h index 392c63b67..a08cee572 100644 --- a/openbsd-compat/glob.h +++ b/openbsd-compat/glob.h | |||
@@ -39,7 +39,8 @@ | |||
39 | * @(#)glob.h 8.1 (Berkeley) 6/2/93 | 39 | * @(#)glob.h 8.1 (Berkeley) 6/2/93 |
40 | */ | 40 | */ |
41 | 41 | ||
42 | #if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) | 42 | #if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || \ |
43 | !defined(GLOB_HAS_GL_MATCHC) | ||
43 | 44 | ||
44 | #ifndef _GLOB_H_ | 45 | #ifndef _GLOB_H_ |
45 | #define _GLOB_H_ | 46 | #define _GLOB_H_ |
@@ -94,5 +95,6 @@ void globfree __P((glob_t *)); | |||
94 | 95 | ||
95 | #endif /* !_GLOB_H_ */ | 96 | #endif /* !_GLOB_H_ */ |
96 | 97 | ||
97 | #endif /* !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) */ | 98 | #endif /* !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || |
99 | !defined(GLOB_HAS_GL_MATCHC */ | ||
98 | 100 | ||