mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
fix build without systemd
This commit is contained in:
parent
b23bd8ea28
commit
7574e27c6a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue