aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc-selinux.c')
-rw-r--r--src/rc/rc-selinux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rc/rc-selinux.c b/src/rc/rc-selinux.c
index ed89be1e..3e484a67 100644
--- a/src/rc/rc-selinux.c
+++ b/src/rc/rc-selinux.c
@@ -15,6 +15,8 @@
* except according to the terms contained in the LICENSE file.
*/
+#ifdef HAVE_SELINUX
+
#include <stddef.h>
#include <errno.h>
#include <dlfcn.h>
@@ -384,3 +386,5 @@ out:
free(run_init_t);
free(curr_t);
}
+
+#endif