Explorar o código

depend on __UCLIBC_HAVE_STATX__

Fixes compilation issues on mips64 n32.
Waldemar Brodkorb %!s(int64=2) %!d(string=hai) anos
pai
achega
223d46f66a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libc/sysdeps/linux/common/fstatat.c

+ 1 - 1
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 <sys/sysmacros.h> // for makedev
 
 int fstatat(int fd, const char *file, struct stat *buf, int flag)