diff options
Diffstat (limited to 'sysdeps/gnu/glob-lstat-compat.c')
-rw-r--r-- | sysdeps/gnu/glob-lstat-compat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/gnu/glob-lstat-compat.c b/sysdeps/gnu/glob-lstat-compat.c index 7cb52d4fee..8f7d775e6a 100644 --- a/sysdeps/gnu/glob-lstat-compat.c +++ b/sysdeps/gnu/glob-lstat-compat.c @@ -20,6 +20,8 @@ #include <sys/stat.h> #include <shlib-compat.h> +#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_27) + #define glob64 __no_glob64_decl #include <glob.h> #undef glob64 @@ -33,6 +35,6 @@ #include <posix/glob.c> -#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_27) +libc_hidden_def (__glob_lstat_compat) compat_symbol (libc, __glob_lstat_compat, glob, GLIBC_2_0); #endif |