Change the location we include linux/xattr.h
This header stuff seems a bit fragile, but Serge reports including
it in sys/capability.h was causing a lot of trouble building dependent
From the perspective of libcap, this API is only needed internally in
cap_file.c so we put an include there.
Signed-off-by: Andrew G Morgan <email@example.com>
diff --git a/libcap/cap_file.c b/libcap/cap_file.c
index d3dc1d0..553c2d2 100644
@@ -10,6 +10,8 @@
#define XATTR_SECURITY_PREFIX "security."
diff --git a/libcap/include/sys/capability.h b/libcap/include/sys/capability.h
index 64ac50e..dddc75b 100644
@@ -27,7 +27,6 @@
* POSIX capability types