aboutsummaryrefslogtreecommitdiffstats
path: root/package/xfsprogs/patches/130-uclibc_no_xattr.patch
blob: 30cb861b5b14c51e56b6031090d0ed31dae4b58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/fsr/xfs_fsr.c
+++ b/fsr/xfs_fsr.c
@@ -35,7 +35,9 @@
 #include <sys/wait.h>
 #include <sys/vfs.h>
 #include <sys/statvfs.h>
+#ifndef __UCLIBC__
 #include <sys/xattr.h>
+#endif
 
 
 #ifndef XFS_XFLAG_NODEFRAG
@@ -990,6 +992,7 @@ fsr_setup_attr_fork(
 	int		tfd,
 	xfs_bstat_t	*bstatp)
 {
+#ifndef __UCLIBC__
 	struct stat64	tstatbuf;
 	int		i;
 	int		last_forkoff = 0;
@@ -1108,6 +1111,7 @@ fsr_setup_attr_fork(
 out:
 	if (dflag)
 		fsrprintf(_("set temp attr\n"));
+#endif
 	return 0;
 }