From cb6a910ab89befef46ebb6251a9800110bbd5c08 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 1 Apr 2020 20:44:48 +0200 Subject: statx: make include conditional, fixes non-csky arch buildroot builds --- include/sys/stat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 #endif +#endif __END_DECLS -- cgit v1.2.3