From 5dad6ffbb2b76215cfcd38c3001778536ada8e8a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 12 Jun 2019 12:04:09 +0200 Subject: : Use Linux UAPI header for statx if available and useful This will automatically import new STATX_* constants. It also avoids a conflict between and . --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0033023179..b2aa19a58d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2019-06-12 Florian Weimer + + Linux: Use kernel headers for statx definitions if available. + * include/bits/statx-generic.h: New file. + * include/bits/types/struct_statx.h: Likewise. + * include/bits/types/struct_statx_timestamp.h: Likewise. + * io/Makefile (headers): Add bits/statx-generic.h. + * io/bits/statx-generic.h: New file. Partly copied from + io/bits/statx.h. + * io/statx_generic.c: Include to + define original_statx. + * io/bits/types/struct_statx.h: Likewise. + * io/bits/types/struct_statx_timestamp.h: Likewise. + (statx_generic): Use original_statx. + * io/bits/statx.h: Rewrite to include . + * sysdeps/unix/sysv/linux/bits/statx.h: New file. + 2019-06-12 Florian Weimer * misc/sys/cdefs.h (__glibc_has_include): Define. -- cgit 1.4.1