summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index c06177dad..b6480bf97 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -393,9 +393,11 @@ extern int futimens (int __fd, const struct timespec __times[2]) __THROW;
#undef _MKNOD_VER
#define _MKNOD_VER 0
+#ifdef __UCLIBC_HAVE_STATX__
#ifdef __USE_GNU
# include <bits/statx.h>
#endif
+#endif
__END_DECLS