packages/utils/btrfs-progs/patches/001-fix-xattr-h-include-location.patch
Daniel Golle 5b9977c6a7 btrfs-progs: import from oldpackges
bump to 3.17.3, add LICENSE and MAINTAINER info, bump license header,
add missing dependencies, ...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-12-05 18:57:45 +01:00

44 lines
875 B
Diff

--- a/mkfs.c
+++ b/mkfs.c
@@ -34,7 +34,7 @@
#include <getopt.h>
#include <uuid/uuid.h>
#include <ctype.h>
-#include <sys/xattr.h>
+#include <attr/xattr.h>
#include <blkid/blkid.h>
#include <ftw.h>
#include "ctree.h"
--- a/props.c
+++ b/props.c
@@ -17,7 +17,7 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/types.h>
-#include <sys/xattr.h>
+#include <attr/xattr.h>
#include <fcntl.h>
#include <unistd.h>
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -39,7 +39,7 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types.h>
-#include <sys/xattr.h>
+#include <attr/xattr.h>
#include <uuid/uuid.h>
#include "ctree.h"
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -34,7 +34,7 @@
#include <regex.h>
#include <getopt.h>
#include <sys/types.h>
-#include <sys/xattr.h>
+#include <attr/xattr.h>
#include "ctree.h"
#include "disk-io.h"