xfsprogs: fix build with older kernel headers
authorBaruch Siach <baruch@tkos.co.il>
Sat, 24 Mar 2018 21:43:23 +0000 (00:43 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 25 Mar 2018 13:02:35 +0000 (15:02 +0200)
commitadd590943d8a3e26865b270392f6294c66cae7fc
tree899bad67ba1dc784696635686a21f60777993900
parentaa4c7cbefc2765d27ba95374b184795c7079acf0
xfsprogs: fix build with older kernel headers

xfsprogs uses a local definition of struct fsxattr when the kernel
provided one in linux/fs.h is too old. The preprocessor trickery that
allows to include linux/fs.h without colliding with the local
definitions breaks when source files include linux/fs.h on their own.
Add a patch that removes these local includes.

Fixes:
http://autobuild.buildroot.net/results/3aa/3aad812582d94b76d204436d2879bfa732c34da6/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/xfsprogs/0006-xfs_scrub-fix-build-with-older-kernel-headers.patch [new file with mode: 0644]