[package] uhttpd: pass feature flags (#9742)
[openwrt.git] / package / xfsprogs / patches / 130-uclibc_no_xattr.patch
1 --- a/fsr/xfs_fsr.c
2 +++ b/fsr/xfs_fsr.c
3 @@ -35,7 +35,9 @@
4 #include <sys/wait.h>
5 #include <sys/vfs.h>
6 #include <sys/statvfs.h>
7 +#ifndef __UCLIBC__
8 #include <sys/xattr.h>
9 +#endif
10
11
12 #ifndef XFS_XFLAG_NODEFRAG
13 @@ -990,6 +992,7 @@ fsr_setup_attr_fork(
14 int tfd,
15 xfs_bstat_t *bstatp)
16 {
17 +#ifndef __UCLIBC__
18 struct stat64 tstatbuf;
19 int i;
20 int last_forkoff = 0;
21 @@ -1108,6 +1111,7 @@ fsr_setup_attr_fork(
22 out:
23 if (dflag)
24 fsrprintf(_("set temp attr\n"));
25 +#endif
26 return 0;
27 }
28
This page took 0.075245 seconds and 5 git commands to generate.