diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-06-12 12:04:09 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-06-12 13:04:43 +0200 |
commit | 5dad6ffbb2b76215cfcd38c3001778536ada8e8a (patch) | |
tree | 3e4e55117be3039d516c14243beddb9041469d5b /include | |
parent | 4e75c2a43bb3208f32556a2b19c939cfe1f54ba6 (diff) | |
download | glibc-5dad6ffbb2b76215cfcd38c3001778536ada8e8a.tar.gz glibc-5dad6ffbb2b76215cfcd38c3001778536ada8e8a.tar.xz glibc-5dad6ffbb2b76215cfcd38c3001778536ada8e8a.zip |
<sys/stat.h>: Use Linux UAPI header for statx if available and useful
This will automatically import new STATX_* constants. It also avoids a conflict between <sys/stat.h> and <linux/stat.h>.
Diffstat (limited to 'include')
-rw-r--r-- | include/bits/statx-generic.h | 1 | ||||
-rw-r--r-- | include/bits/types/struct_statx.h | 1 | ||||
-rw-r--r-- | include/bits/types/struct_statx_timestamp.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/bits/statx-generic.h b/include/bits/statx-generic.h new file mode 100644 index 0000000000..21674721b6 --- /dev/null +++ b/include/bits/statx-generic.h @@ -0,0 +1 @@ +#include <io/bits/statx-generic.h> diff --git a/include/bits/types/struct_statx.h b/include/bits/types/struct_statx.h new file mode 100644 index 0000000000..82add6484f --- /dev/null +++ b/include/bits/types/struct_statx.h @@ -0,0 +1 @@ +#include <io/bits/types/struct_statx.h> diff --git a/include/bits/types/struct_statx_timestamp.h b/include/bits/types/struct_statx_timestamp.h new file mode 100644 index 0000000000..9fbedd5749 --- /dev/null +++ b/include/bits/types/struct_statx_timestamp.h @@ -0,0 +1 @@ +#include <io/bits/types/struct_statx_timestamp.h> |