From 223d46f66af17e18be6e1eb2933a2c70eb64ad47 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Oct 2023 15:42:34 +0200 Subject: depend on __UCLIBC_HAVE_STATX__ Fixes compilation issues on mips64 n32. --- libc/sysdeps/linux/common/fstatat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/fstatat.c b/libc/sysdeps/linux/common/fstatat.c index db4a8327f..13611e9d0 100644 --- a/libc/sysdeps/linux/common/fstatat.c +++ b/libc/sysdeps/linux/common/fstatat.c @@ -32,7 +32,7 @@ int fstatat(int fd, const char *file, struct stat *buf, int flag) libc_hidden_def(fstatat) #else -#if defined(__NR_statx) +#if defined(__NR_statx) && defined __UCLIBC_HAVE_STATX__ #include // for makedev int fstatat(int fd, const char *file, struct stat *buf, int flag) -- cgit v1.2.3