about summary refs log tree commit diff
path: root/posix/glob-lstat-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/glob-lstat-compat.c')
-rw-r--r--posix/glob-lstat-compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/glob-lstat-compat.c b/posix/glob-lstat-compat.c
index 00d791d03b..f91c7cc2d4 100644
--- a/posix/glob-lstat-compat.c
+++ b/posix/glob-lstat-compat.c
@@ -28,7 +28,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>