aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/glob-lstat-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/glob-lstat-compat.c')
-rw-r--r--sysdeps/gnu/glob-lstat-compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/gnu/glob-lstat-compat.c b/sysdeps/gnu/glob-lstat-compat.c
index 128f84c07c..caa485935e 100644
--- a/sysdeps/gnu/glob-lstat-compat.c
+++ b/sysdeps/gnu/glob-lstat-compat.c
@@ -29,7 +29,8 @@
#define GLOB_ATTRIBUTE attribute_compat_text_section
/* Avoid calling gl_lstat with GLOB_ALTDIRFUNC. */
-#define GLOB_NO_LSTAT
+#define GLOB_LSTAT gl_stat
+#define GLOB_LSTAT64 __stat64
#include <posix/glob.c>