summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>2014-02-02 14:01:20 +0100
committerChris Mason <clm@fb.com>2014-03-21 06:23:31 -0700
commitb5fe148715ea295e2b951ec6c90409b9d81978d8 (patch)
tree79554220c13140d8cf9d437eab0e427bae02c69e /cmds-restore.c
parent4bcfcb47faaf1adc912be64892e01b92b377c8c5 (diff)
downloadbtrfs-progs-b5fe148715ea295e2b951ec6c90409b9d81978d8.tar.gz
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>
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index 41a2bee..07a0e63 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -34,7 +34,7 @@
#include <regex.h>
#include <getopt.h>
#include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include "ctree.h"
#include "disk-io.h"