Просмотр исходного кода

depend on __UCLIBC_HAVE_STATX__

Fixes compilation issues on mips64 n32.
Waldemar Brodkorb 2 лет назад
Родитель
Сommit
223d46f66a
1 измененных файлов с 1 добавлено и 1 удалено
  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)