summaryrefslogtreecommitdiffstats
path: root/libtar/compat.h
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-09-05 21:53:36 +0200
committerGerrit Code Review <gerrit@198.50.184.117>2013-09-05 21:53:36 +0200
commit8807a1ead605b54d86ba96466aee648fcd189ab4 (patch)
tree6b7cde9b953529948a725a606078818731db69fc /libtar/compat.h
parentExtract file_contexts from zips if it exists (diff)
parentlibtar: store SELinux file context in tar archives (diff)
downloadandroid_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar
android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.gz
android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.bz2
android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.lz
android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.xz
android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.tar.zst
android_bootable_recovery-8807a1ead605b54d86ba96466aee648fcd189ab4.zip
Diffstat (limited to 'libtar/compat.h')
-rw-r--r--libtar/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtar/compat.h b/libtar/compat.h
index 70ac2f435..d0862943b 100644
--- a/libtar/compat.h
+++ b/libtar/compat.h
@@ -12,6 +12,10 @@
# include <libgen.h>
#endif
+#ifdef HAVE_SELINUX
+#include "selinux/selinux.h"
+#endif
+
#if defined(NEED_BASENAME) && !defined(HAVE_BASENAME)