From 8a04c4d84c8a1a1297ec0c5cec5522112981e0c0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Oct 2019 13:57:27 +0200 Subject: csky: add statx conditionals Similar to glibc commit https://sourceware.org/git/?p=glibc.git;a=commit;h=6bbfc5c09fc5b5e3d4a0cddbbd4e2e457767dae7 we need to handle Linux kernel change, which removed stat64 family from default syscall set. Signed-off-by: Waldemar Brodkorb Signed-off-by: Waldemar Brodkorb --- include/sys/stat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/sys') diff --git a/include/sys/stat.h b/include/sys/stat.h index 079e77903..c06177dad 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -393,6 +393,11 @@ extern int futimens (int __fd, const struct timespec __times[2]) __THROW; #undef _MKNOD_VER #define _MKNOD_VER 0 +#ifdef __USE_GNU +# include +#endif + + __END_DECLS -- cgit v1.2.3