summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'system.h')
-rw-r--r--system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/system.h b/system.h
index e34f6d6d1..9b23e45f1 100644
--- a/system.h
+++ b/system.h
@@ -78,6 +78,7 @@ char * stpncpy(char * dest, const char * src, size_t n);
#if WITH_SELINUX
#include <selinux/selinux.h>
+#include <selinux/label.h>
#else
typedef char * security_context_t;
@@ -92,6 +93,10 @@ typedef char * security_context_t;
#define matchpathcon_fini() (0)
#define matchpathcon(_fn, _fm, _c) (-1)
+#define selabel_lookup_raw(_hnd, _scon, _key,_type) (-1)
+
+#define selinux_file_context_path() (0)
+
#define rpm_execcon(_v, _fn, _av, _envp) (0)
#endif