aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-selinux.c
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-23 14:06:31 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-12 10:42:14 -0600
commitbf2f40828ee26d3ba9185f29db596ee5d7b9cf61 (patch)
treede1ccdb2fd86e476323908c37ae6588a9ac9ae97 /src/rc/rc-selinux.c
parentfe485f44339963fdbee143687dcbef2069924bc6 (diff)
Remove multicall binary structure from OpenRC
This eliminates the need for the selinux-specific wrapper scrript we were installing in /lib*/rc/{bin,sbin}.
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