diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-12 16:14:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 16:14:18 -0500 |
commit | 77dfac4fa4082ce95fc9769861e0b971754b6a66 (patch) | |
tree | cfffb364f9e79dc7acb2dc67075b33f15a1f57c9 /backend/session/logind.c | |
parent | d2d8372cdc20c908342497fcdbfa91b6fc99df82 (diff) | |
parent | 51bfdd620e70c41e1a9fb4ce7831eddfb1bf893b (diff) |
Merge pull request #1372 from emersion/config10
Use #if instead of #ifdef for wlroots config data
Diffstat (limited to 'backend/session/logind.c')
-rw-r--r-- | backend/session/logind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c index b44112e6..bfe12190 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -15,10 +15,10 @@ #include <wlr/util/log.h> #include "util/signal.h" -#ifdef WLR_HAS_SYSTEMD +#if WLR_HAS_SYSTEMD #include <systemd/sd-bus.h> #include <systemd/sd-login.h> -#elif defined(WLR_HAS_ELOGIND) +#elif WLR_HAS_ELOGIND #include <elogind/sd-bus.h> #include <elogind/sd-login.h> #endif |