aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDeHackEd <[email protected]>2018-03-27 19:51:33 -0400
committerBrian Behlendorf <[email protected]>2018-03-27 16:51:32 -0700
commit668173b5764386b47de0beb7c57ff8ce8f68f983 (patch)
treeae4229f4a665025a5df4743548e6c45c19e2c265 /tests
parent5152a740885dd7784681b5080735f941d993aa5f (diff)
Remove libattr requirement
RHEL/CentOS 6 supports sys/xattr.h eliminating the need for libattr-devel as a dependency. Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: DHE <[email protected]> Closes #7344 Closes #7351
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/cmd/mktree/mktree.c2
-rw-r--r--tests/zfs-tests/cmd/xattrtest/xattrtest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/cmd/mktree/mktree.c b/tests/zfs-tests/cmd/mktree/mktree.c
index 3dc3dd8ec..bf0ec5e0c 100644
--- a/tests/zfs-tests/cmd/mktree/mktree.c
+++ b/tests/zfs-tests/cmd/mktree/mktree.c
@@ -30,7 +30,7 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/param.h>
diff --git a/tests/zfs-tests/cmd/xattrtest/xattrtest.c b/tests/zfs-tests/cmd/xattrtest/xattrtest.c
index a93cce7f1..dd3f2a6c9 100644
--- a/tests/zfs-tests/cmd/xattrtest/xattrtest.c
+++ b/tests/zfs-tests/cmd/xattrtest/xattrtest.c
@@ -37,7 +37,7 @@
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>