summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 19:10:00 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 23:54:49 +0200
commit0b452006de98294d1690f045f6ea2f7f6630ec3b (patch)
tree852bde2d8fd7dac434636bd25a276b5cf0eece9f /src/login
parent6482f6269c87d2249e52e889a63adbdd50f2d691 (diff)
shared: add process-util.[ch]
Diffstat (limited to 'src/login')
-rw-r--r--src/login/inhibit.c1
-rw-r--r--src/login/loginctl.c1
-rw-r--r--src/login/logind-action.c1
-rw-r--r--src/login/logind-dbus.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index 1f78e4b883..57cfb5d0b5 100644
--- a/src/login/inhibit.c
+++ b/src/login/inhibit.c
@@ -32,6 +32,7 @@
#include "build.h"
#include "strv.h"
#include "formats-util.h"
+#include "process-util.h"
static const char* arg_what = "idle:sleep:shutdown";
static const char* arg_who = NULL;
diff --git a/src/login/loginctl.c b/src/login/loginctl.c
index ec102ae4c7..7393eb3b9b 100644
--- a/src/login/loginctl.c
+++ b/src/login/loginctl.c
@@ -41,6 +41,7 @@
#include "cgroup-util.h"
#include "spawn-polkit-agent.h"
#include "verbs.h"
+#include "process-util.h"
static char **arg_property = NULL;
static bool arg_all = false;
diff --git a/src/login/logind-action.c b/src/login/logind-action.c
index d7ae175bd3..29e7ed007c 100644
--- a/src/login/logind-action.c
+++ b/src/login/logind-action.c
@@ -28,6 +28,7 @@
#include "bus-error.h"
#include "logind-action.h"
#include "formats-util.h"
+#include "process-util.h"
int manager_handle_action(
Manager *m,
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 45aedad594..6bf9205831 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -41,6 +41,7 @@
#include "efivars.h"
#include "logind.h"
#include "formats-util.h"
+#include "process-util.h"
int manager_get_session_from_creds(Manager *m, sd_bus_message *message, const char *name, sd_bus_error *error, Session **ret) {
_cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL;