summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 50f66be9d9..37e6484f4b 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -2308,7 +2308,7 @@ static int open_syslog_socket(Server *s) {
return -errno;
}
-#ifdef HAVE_SE
+#ifdef HAVE_SELINUX
one = 1;
r = setsockopt(s->syslog_fd, SOL_SOCKET, SO_PASSSEC, &one, sizeof(one));
if (r < 0)