summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/lstat64.c
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-02-28 11:45:08 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-28 10:07:11 +0100
commit8a6af75fcae2d24cd14f2d91c11a52adae154ebc (patch)
tree1539874e0040ed53a3ca993f4e5b78cfb7fcee78 /libc/sysdeps/linux/common/lstat64.c
parent0b4d5ed47cc1b8b6a024fc2f3eafa8331953eab2 (diff)
libc: always redirect *stat() family to statx() with time64 enabled.
Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/lstat64.c')
-rw-r--r--libc/sysdeps/linux/common/lstat64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/lstat64.c b/libc/sysdeps/linux/common/lstat64.c
index 61892994e..efc5b1b7f 100644
--- a/libc/sysdeps/linux/common/lstat64.c
+++ b/libc/sysdeps/linux/common/lstat64.c
@@ -11,7 +11,7 @@
#include <unistd.h>
#include <sys/stat.h>
-#if defined __NR_fstatat64 && !defined __NR_lstat
+#if defined __NR_fstatat64 && !defined __NR_lstat && !defined(__UCLIBC_USE_TIME64__)
# include <fcntl.h>
int lstat64(const char *file_name, struct stat64 *buf)