lantiq: Tune the XWAY subtarget cflags
[openwrt.git] / package / system / utils / xfsprogs / patches / 130-uclibc_no_xattr.patch
1 commit 10d6058b24f18cb31889154f830b191849f45106
2 Author: Jens Muecke <jens@nons.de>
3 Date:   Thu Jan 26 00:38:27 2012 +0100
4
5     130-uclibc_no_xattr
6
7 diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
8 index 40c2e6f..4f54059 100644
9 --- a/fsr/xfs_fsr.c
10 +++ b/fsr/xfs_fsr.c
11 @@ -35,7 +35,9 @@
12  #include <sys/wait.h>
13  #include <sys/vfs.h>
14  #include <sys/statvfs.h>
15 +#ifndef __UCLIBC__
16  #include <sys/xattr.h>
17 +#endif
18  
19  
20  #ifndef XFS_XFLAG_NODEFRAG
21 @@ -990,6 +992,7 @@ fsr_setup_attr_fork(
22         int             tfd,
23         xfs_bstat_t     *bstatp)
24  {
25 +#ifndef __UCLIBC__
26         struct stat64   tstatbuf;
27         int             i;
28         int             last_forkoff = 0;
29 @@ -1108,6 +1111,7 @@ fsr_setup_attr_fork(
30  out:
31         if (dflag)
32                 fsrprintf(_("set temp attr\n"));
33 +#endif
34         return 0;
35  }
36