mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
parent
e5e6dab7fd
commit
175f89f4ff
6 changed files with 22 additions and 3 deletions
|
|
@ -5,8 +5,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <systemd/sd-bus.h>
|
||||
#include <systemd/sd-login.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
@ -15,6 +13,14 @@
|
|||
#include <wlr/backend/session/interface.h>
|
||||
#include <wlr/util/log.h>
|
||||
|
||||
#ifdef HAS_SYSTEMD
|
||||
#include <systemd/sd-bus.h>
|
||||
#include <systemd/sd-login.h>
|
||||
#elif HAS_ELOGIND
|
||||
#include <elogind/sd-bus.h>
|
||||
#include <elogind/sd-login.h>
|
||||
#endif
|
||||
|
||||
enum { DRM_MAJOR = 226 };
|
||||
|
||||
const struct session_impl session_logind;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue