diff options
author | PoroCYon <pcy@national.shitposting.agency> | 2018-01-02 16:39:58 +0100 |
---|---|---|
committer | PoroCYon <pcy@national.shitposting.agency> | 2018-01-02 16:39:58 +0100 |
commit | 7574e27c6ae1371987b3b7f1e32d7241627c38da (patch) | |
tree | 6ade42e5584d66656e6e18a0c4060541ac0a3c8b /backend | |
parent | b23bd8ea282ae853357d126d6cec0a82c683aaeb (diff) |
fix build without systemd
Diffstat (limited to 'backend')
-rw-r--r-- | backend/session/logind.c | 2 | ||||
-rw-r--r-- | backend/session/session.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c index fb2af492..0b5b2a63 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -17,7 +17,7 @@ #ifdef WLR_HAS_SYSTEMD #include <systemd/sd-bus.h> #include <systemd/sd-login.h> -#elif WLR_HAS_ELOGIND +#elif defined(WLR_HAS_ELOGIND) #include <elogind/sd-bus.h> #include <elogind/sd-login.h> #endif 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, |