src/t_attr_corruption: fix xattr.h include problems

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@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2019-02-20 09:20:05 -08:00
committed by Eryu Guan
parent 6fd9210bc9
commit 23b1f2ccba
+1 -1
View File
@@ -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)
{