diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2020-04-01 22:56:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-04-01 22:56:40 +0200 |
commit | d987468fdcfe2091bd5d5481ea3a1ec24b12bca7 (patch) | |
tree | 270dcda7139520f919ebdb8b159443432f157526 /ldso/include | |
parent | db4b12ae6213a28136d7622b74405c6c71c055b0 (diff) |
statx: make include conditional, fixes non-csky arch buildroot builds
Diffstat (limited to 'ldso/include')
-rw-r--r-- | ldso/include/dl-syscall.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h index 55688e1c1..2e8bb3630 100644 --- a/ldso/include/dl-syscall.h +++ b/ldso/include/dl-syscall.h @@ -40,6 +40,8 @@ extern int _dl_errno; #include <sys/stat.h> #include <dl-string.h> +#include <bits/uClibc_arch_features.h> +#if defined __UCLIBC_HAVE_STATX__ static __always_inline void __cp_stat_statx (struct stat *to, struct statx *from) { @@ -64,6 +66,7 @@ __cp_stat_statx (struct stat *to, struct statx *from) to->st_blksize = from->stx_blksize; } #endif +#endif #define AT_NO_AUTOMOUNT 0x800 #define AT_EMPTY_PATH 0x1000 |