summaryrefslogtreecommitdiff
path: root/src/grp-initprogs/systemd-update-utmp
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-initprogs/systemd-update-utmp')
-rw-r--r--src/grp-initprogs/systemd-update-utmp/Makefile1
-rw-r--r--src/grp-initprogs/systemd-update-utmp/update-utmp.c18
2 files changed, 10 insertions, 9 deletions
diff --git a/src/grp-initprogs/systemd-update-utmp/Makefile b/src/grp-initprogs/systemd-update-utmp/Makefile
index 506e4840a5..550948589c 100644
--- a/src/grp-initprogs/systemd-update-utmp/Makefile
+++ b/src/grp-initprogs/systemd-update-utmp/Makefile
@@ -35,6 +35,7 @@ systemd_update_utmp_CFLAGS = \
$(AUDIT_CFLAGS)
systemd_update_utmp_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la \
$(AUDIT_LIBS)
diff --git a/src/grp-initprogs/systemd-update-utmp/update-utmp.c b/src/grp-initprogs/systemd-update-utmp/update-utmp.c
index cceb34f60d..ccb8543cfe 100644
--- a/src/grp-initprogs/systemd-update-utmp/update-utmp.c
+++ b/src/grp-initprogs/systemd-update-utmp/update-utmp.c
@@ -27,16 +27,16 @@
#include <systemd/sd-bus.h>
-#include "basic/alloc-util.h"
-#include "basic/formats-util.h"
-#include "basic/log.h"
-#include "basic/macro.h"
-#include "basic/special.h"
-#include "basic/unit-name.h"
-#include "basic/util.h"
#include "sd-bus/bus-error.h"
-#include "shared/bus-util.h"
-#include "shared/utmp-wtmp.h"
+#include "sd-bus/bus-util.h"
+#include "systemd-basic/alloc-util.h"
+#include "systemd-basic/formats-util.h"
+#include "systemd-basic/log.h"
+#include "systemd-basic/macro.h"
+#include "systemd-basic/special.h"
+#include "systemd-basic/unit-name.h"
+#include "systemd-basic/util.h"
+#include "systemd-shared/utmp-wtmp.h"
typedef struct Context {
sd_bus *bus;