summaryrefslogtreecommitdiff
path: root/include/sys/stat.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-04-01 20:44:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-04-01 21:43:45 +0200
commitcb6a910ab89befef46ebb6251a9800110bbd5c08 (patch)
tree643e28f5c7eaf0266512bac78a28a29d3599709b /include/sys/stat.h
parent440e6c1197636a1dc0ae413fca815254a71d2a27 (diff)
statx: make include conditional, fixes non-csky arch buildroot builds
Diffstat (limited to 'include/sys/stat.h')
-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