diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/label.c | 2 | ||||
-rw-r--r-- | src/shared/smack-util.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/shared/label.c b/src/shared/label.c index 3b7b86e8fa..e46d53201d 100644 --- a/src/shared/label.c +++ b/src/shared/label.c @@ -27,9 +27,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#ifdef HAVE_XATTR #include <sys/xattr.h> -#endif #ifdef HAVE_SELINUX #include <selinux/selinux.h> #include <selinux/label.h> diff --git a/src/shared/smack-util.c b/src/shared/smack-util.c index df194e0844..8f83562bf6 100644 --- a/src/shared/smack-util.c +++ b/src/shared/smack-util.c @@ -23,9 +23,7 @@ #include <unistd.h> #include <string.h> -#ifdef HAVE_XATTR -#include <attr/xattr.h> -#endif +#include <sys/xattr.h> #include "smack-util.h" |