summaryrefslogtreecommitdiffstats
path: root/init/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.h')
-rw-r--r--init/init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/init.h b/init/init.h
index 955e1f0..b7e06c9 100644
--- a/init/init.h
+++ b/init/init.h
@@ -95,7 +95,9 @@ struct service {
gid_t supp_gids[NR_SVC_SUPP_GIDS];
size_t nr_supp_gids;
+#ifdef HAVE_SELINUX
char *seclabel;
+#endif
struct socketinfo *sockets;
struct svcenvinfo *envvars;
@@ -134,8 +136,10 @@ void property_changed(const char *name, const char *value);
int load_565rle_image( char *file_name );
+#ifdef HAVE_SELINUX
extern struct selabel_handle *sehandle;
extern struct selabel_handle *sehandle_prop;
extern int selinux_reload_policy(void);
+#endif
#endif /* _INIT_INIT_H */