Merge pull request #548 from PoroCYon/master

Fix build without systemd
master
emersion 7 years ago committed by GitHub
commit 767df15b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,7 +17,7 @@
#ifdef WLR_HAS_SYSTEMD #ifdef WLR_HAS_SYSTEMD
#include <systemd/sd-bus.h> #include <systemd/sd-bus.h>
#include <systemd/sd-login.h> #include <systemd/sd-login.h>
#elif WLR_HAS_ELOGIND #elif defined(WLR_HAS_ELOGIND)
#include <elogind/sd-bus.h> #include <elogind/sd-bus.h>
#include <elogind/sd-login.h> #include <elogind/sd-login.h>
#endif #endif

@ -20,7 +20,7 @@ extern const struct session_impl session_direct;
static const struct session_impl *impls[] = { static const struct session_impl *impls[] = {
#ifdef WLR_HAS_SYSTEMD #ifdef WLR_HAS_SYSTEMD
&session_logind, &session_logind,
#elif WLR_HAS_ELOGIND #elif defined(WLR_HAS_ELOGIND)
&session_logind, &session_logind,
#endif #endif
&session_direct, &session_direct,

Loading…
Cancel
Save