[PATCH] t_attr_corruption: fix xattr.h include problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

Apparently newer versions of libattr (which haven't yet been picked up
by Debian or Ubuntu) don't ship xattr.h anymore, because we're supposed
to use the libc version in sys/xattr.h.  So do that.

Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
 src/t_attr_corruption.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/t_attr_corruption.c b/src/t_attr_corruption.c
index 1fa5e41f..f26611f9 100644
--- a/src/t_attr_corruption.c
+++ b/src/t_attr_corruption.c
@@ -27,7 +27,7 @@
 #include <string.h>
 #include <stdint.h>
 #include <unistd.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 void die(const char *msg)
 {



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux