btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>
Sun, 2 Feb 2014 13:01:20 +0000 (14:01 +0100)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:31 +0000 (06:23 -0700)
commitb5fe148715ea295e2b951ec6c90409b9d81978d8
tree79554220c13140d8cf9d437eab0e427bae02c69e
parent4bcfcb47faaf1adc912be64892e01b92b377c8c5
btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>

The `btrfs` and `mkfs.btrfs` binaries are not linked against libattr
so the correct header to include is <sys/xattr.h>.

This fixes the build when attr header files are not installed.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-restore.c
mkfs.c