summaryrefslogtreecommitdiffstats
path: root/libtar/compat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)