diff options
Diffstat (limited to 'libtar/append.c')
-rw-r--r-- | libtar/append.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libtar/append.c b/libtar/append.c index 7c679f66d..d8ba3cad5 100644 --- a/libtar/append.c +++ b/libtar/append.c @@ -35,9 +35,7 @@ # include <unistd.h> #endif -#ifdef HAVE_SELINUX -# include "selinux/selinux.h" -#endif +#include <selinux/selinux.h> #ifdef HAVE_EXT4_CRYPT # include "ext4crypt_tar.h" @@ -105,7 +103,6 @@ tar_append_file(TAR *t, const char *realname, const char *savename) #endif th_set_path(t, (savename ? savename : realname)); -#ifdef HAVE_SELINUX /* get selinux context */ if (t->options & TAR_STORE_SELINUX) { @@ -129,7 +126,6 @@ tar_append_file(TAR *t, const char *realname, const char *savename) #endif } } -#endif #ifdef HAVE_EXT4_CRYPT if (TH_ISDIR(t) && t->options & TAR_STORE_EXT4_POL) |