]> Git Repo - uclibc-ng.git/commitdiff
statx: make include conditional, fixes non-csky arch buildroot builds
authorWaldemar Brodkorb <[email protected]>
Wed, 1 Apr 2020 20:56:40 +0000 (22:56 +0200)
committerWaldemar Brodkorb <[email protected]>
Wed, 1 Apr 2020 20:56:40 +0000 (22:56 +0200)
ldso/include/dl-syscall.h

index 55688e1c118b8bce3d2992dba7c4dd7b739b9a6e..2e8bb3630c71a7e03ee4377725c7b1b47ca92b43 100644 (file)
@@ -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 
This page took 0.023225 seconds and 4 git commands to generate.