summaryrefslogtreecommitdiff
path: root/mkfs.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 /mkfs.c
parent4bcfcb47faaf1adc912be64892e01b92b377c8c5 (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>
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index d238b5c3..2dc90c24 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -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"