chiark / gitweb /
dev-setup: allow a path prefix for use in chroots
[elogind.git] / src / core / selinux-setup.c
index 22ca820188b243dfa5db3b856bce7e7dcd781ee0..fa025b72687ad0d4e0863a3589a610f20b05e6d2 100644 (file)
 #include "log.h"
 #include "label.h"
 
+#ifdef HAVE_SELINUX
 static int null_log(int type, const char *fmt, ...) {
         return 0;
 }
+#endif
 
 int selinux_setup(bool *loaded_policy) {