diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/oldglob.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/oldglob.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/oldglob.c b/sysdeps/unix/sysv/linux/oldglob.c index 8233e57ce9..5402450f55 100644 --- a/sysdeps/unix/sysv/linux/oldglob.c +++ b/sysdeps/unix/sysv/linux/oldglob.c @@ -1,12 +1,13 @@ #include <shlib-compat.h> -#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2) +#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2) \ + && !defined(GLOB_NO_OLD_VERSION) #include <dirent.h> #include <glob.h> #include <sys/stat.h> -#include <sysdeps/unix/sysv/linux/i386/olddirent.h> +#include <olddirent.h> int __old_glob64 (const char *__pattern, int __flags, int (*__errfunc) (const char *, int), |