diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-23 13:57:27 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-02-03 11:50:54 +0100 |
commit | 8a04c4d84c8a1a1297ec0c5cec5522112981e0c0 (patch) | |
tree | 80f637db2009956f5c5bfad7f413580af466e3e5 /include/sys/stat.h | |
parent | 6b21a5a5bd895e16ef57c4d0d89c806b2e0c22e8 (diff) |
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 <wbx@openadk.org>
Signed-off-by: Waldemar Brodkorb <wbrodkorb@conet.de>
Diffstat (limited to 'include/sys/stat.h')
-rw-r--r-- | include/sys/stat.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <bits/statx.h> +#endif + + __END_DECLS |