diff options
Diffstat (limited to 'posix/glob64.c')
-rw-r--r-- | posix/glob64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/glob64.c b/posix/glob64.c index a515a1c12f..ee7ef841f1 100644 --- a/posix/glob64.c +++ b/posix/glob64.c @@ -20,6 +20,10 @@ #include <glob.h> #include <errno.h> +#ifdef GLOB_ATTRIBUTE +# define GLOB_ATTRIBUTE +#endif + /* Do glob searching for PATTERN, placing results in PGLOB. The bits defined above may be set in FLAGS. If a directory cannot be opened or read and ERRFUNC is not nil, @@ -29,6 +33,7 @@ If memory cannot be allocated for PGLOB, GLOB_NOSPACE is returned. Otherwise, `glob' returns zero. */ int +GLOB_ATTRIBUTE glob64 (const char *pattern, int flags, int (*errfunc) (const char *, int), glob64_t *pglob) { |