diff options
author | Christophe Vu-Brugier <cvubrugier@yahoo.fr> | 2014-02-02 14:01:20 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-21 06:23:31 -0700 |
commit | b5fe148715ea295e2b951ec6c90409b9d81978d8 (patch) | |
tree | 79554220c13140d8cf9d437eab0e427bae02c69e | |
parent | 4bcfcb47faaf1adc912be64892e01b92b377c8c5 (diff) |
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>
-rw-r--r-- | cmds-restore.c | 2 | ||||
-rw-r--r-- | mkfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmds-restore.c b/cmds-restore.c index 41a2beee..07a0e634 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" @@ -34,7 +34,7 @@ #include <getopt.h> #include <uuid/uuid.h> #include <ctype.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <blkid/blkid.h> #include <ftw.h> #include "ctree.h" |