From ee104e11e303499a637c5cd8157bd12ad5cc116d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2015 00:42:07 +0100 Subject: user-util: move UID/GID related macros from macro.h to user-util.h --- src/login/logind-seat-dbus.c | 9 +++++---- src/login/logind-user.c | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/login') 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 #include -#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) { -- cgit v1.2.3-54-g00ecf