summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:42:07 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commitee104e11e303499a637c5cd8157bd12ad5cc116d (patch)
tree9b5e194fd5e21d476cc60ae5a6dd125608278953 /src/login
parent49cf4170d0b586551527ebf4297f8a3fe6bd71a3 (diff)
user-util: move UID/GID related macros from macro.h to user-util.h
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-seat-dbus.c9
-rw-r--r--src/login/logind-user.c1
2 files changed, 6 insertions, 4 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
index 346e1d2cec..66626b5871 100644
--- a/src/login/logind-seat-dbus.c
+++ b/src/login/logind-seat-dbus.c
@@ -22,13 +22,14 @@
#include <errno.h>
#include <string.h>
-#include "util.h"
-#include "bus-util.h"
-#include "strv.h"
#include "bus-common-errors.h"
#include "bus-label.h"
-#include "logind.h"
+#include "bus-util.h"
#include "logind-seat.h"
+#include "logind.h"
+#include "strv.h"
+#include "user-util.h"
+#include "util.h"
static int property_get_active_session(
sd_bus *bus,
diff --git a/src/login/logind-user.c b/src/login/logind-user.c
index 9692a86709..1cf9be7441 100644
--- a/src/login/logind-user.c
+++ b/src/login/logind-user.c
@@ -45,6 +45,7 @@
#include "special.h"
#include "string-table.h"
#include "unit-name.h"
+#include "user-util.h"
#include "util.h"
User* user_new(Manager *m, uid_t uid, gid_t gid, const char *name) {