aboutsummaryrefslogtreecommitdiff
path: root/backend/session/logind.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-02 16:53:51 +0100
committerGitHub <noreply@github.com>2018-01-02 16:53:51 +0100
commit767df15b029c7cb2f840591f465b81dd34bcfd83 (patch)
tree6ade42e5584d66656e6e18a0c4060541ac0a3c8b /backend/session/logind.c
parentb23bd8ea282ae853357d126d6cec0a82c683aaeb (diff)
parent7574e27c6ae1371987b3b7f1e32d7241627c38da (diff)
Merge pull request #548 from PoroCYon/master
Fix build without systemd
Diffstat (limited to 'backend/session/logind.c')
-rw-r--r--backend/session/logind.c2
1 files changed, 1 insertions, 1 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