aboutsummaryrefslogtreecommitdiff
path: root/posix/glob64-lstat-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/glob64-lstat-compat.c')
-rw-r--r--posix/glob64-lstat-compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/glob64-lstat-compat.c b/posix/glob64-lstat-compat.c
index bd81a1e390..e90d4ae93e 100644
--- a/posix/glob64-lstat-compat.c
+++ b/posix/glob64-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/glob64.c>