aboutsummaryrefslogtreecommitdiff
path: root/backend/session/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/session/session.c')
-rw-r--r--backend/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/session/session.c b/backend/session/session.c
index 13d47579..a5f17b8d 100644
--- a/backend/session/session.c
+++ b/backend/session/session.c
@@ -20,7 +20,7 @@ extern const struct session_impl session_direct;
static const struct session_impl *impls[] = {
#ifdef WLR_HAS_SYSTEMD
&session_logind,
-#elif WLR_HAS_ELOGIND
+#elif defined(WLR_HAS_ELOGIND)
&session_logind,
#endif
&session_direct,