You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.2 KiB

  1. --- a/mkfs.c
  2. +++ b/mkfs.c
  3. @@ -34,7 +34,7 @@
  4. #include <getopt.h>
  5. #include <uuid/uuid.h>
  6. #include <ctype.h>
  7. -#include <sys/xattr.h>
  8. +#include <attr/xattr.h>
  9. #include <blkid/blkid.h>
  10. #include <ftw.h>
  11. #include "ctree.h"
  12. --- a/props.c
  13. +++ b/props.c
  14. @@ -17,7 +17,7 @@
  15. #include <sys/stat.h>
  16. #include <sys/ioctl.h>
  17. #include <sys/types.h>
  18. -#include <sys/xattr.h>
  19. +#include <attr/xattr.h>
  20. #include <fcntl.h>
  21. #include <unistd.h>
  22. --- a/cmds-receive.c
  23. +++ b/cmds-receive.c
  24. @@ -39,7 +39,7 @@
  25. #include <sys/ioctl.h>
  26. #include <sys/time.h>
  27. #include <sys/types.h>
  28. -#include <sys/xattr.h>
  29. +#include <attr/xattr.h>
  30. #include <uuid/uuid.h>
  31. #include "ctree.h"
  32. --- a/cmds-restore.c
  33. +++ b/cmds-restore.c
  34. @@ -34,7 +34,7 @@
  35. #include <regex.h>
  36. #include <getopt.h>
  37. #include <sys/types.h>
  38. -#include <sys/xattr.h>
  39. +#include <attr/xattr.h>
  40. #include "ctree.h"
  41. #include "disk-io.h"
  42. --- a/Makefile
  43. +++ b/Makefile
  44. @@ -26,7 +26,7 @@ TESTS = fsck-tests.sh convert-tests.sh
  45. INSTALL = install
  46. prefix ?= /usr/local
  47. bindir = $(prefix)/bin
  48. -lib_LIBS = -luuid -lblkid -lm -lz -llzo2 -L.
  49. +lib_LIBS = -lattr -luuid -lblkid -lm -lz -llzo2 -L.
  50. libdir ?= $(prefix)/lib
  51. incdir = $(prefix)/include/btrfs
  52. LIBS = $(lib_LIBS) $(libs_static)