Commit 35002a09 authored by Michael Biebl's avatar Michael Biebl
Browse files

Add missing sd-daemon.h include for sd_booted()

parent 51d3d394
......@@ -5,14 +5,22 @@ Subject: =?utf-8?q?don=E2=80=99t_try_to_start_autovt_units_when_not_runnin?=
Closes: #726466
---
src/login/logind-core.c | 5 +++++
1 file changed, 5 insertions(+)
src/login/logind-core.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/login/logind-core.c b/src/login/logind-core.c
index 053d2ed..8f2fc3c 100644
index 053d2ed..695ca03 100644
--- a/src/login/logind-core.c
+++ b/src/login/logind-core.c
@@ -451,6 +451,11 @@ int manager_spawn_autovt(Manager *m, unsigned int vtnr) {
@@ -34,6 +34,7 @@
#include "bus-error.h"
#include "udev-util.h"
#include "logind.h"
+#include "sd-daemon.h"
int manager_add_device(Manager *m, const char *sysfs, bool master, Device **_device) {
Device *d;
@@ -451,6 +452,11 @@ int manager_spawn_autovt(Manager *m, unsigned int vtnr) {
vtnr != m->reserve_vt)
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment