|
@@ -15,10 +15,13 @@
|
|
|
License along with the GNU C Library. If not, see
|
|
|
<http:
|
|
|
|
|
|
+#include <bits/uClibc_arch_features.h>
|
|
|
#include <stddef.h>
|
|
|
#include <string.h>
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
+#if defined __UCLIBC_HAVE_STATX__
|
|
|
+
|
|
|
#include <statx_cp.h>
|
|
|
|
|
|
#if !defined(__NR_fstat64) || !defined(__NR_fstatat64)
|
|
@@ -70,3 +73,4 @@ __cp_stat_statx (struct stat *to, struct statx *from)
|
|
|
to->st_blksize = from->stx_blksize;
|
|
|
}
|
|
|
#endif
|
|
|
+#endif
|