chiark / gitweb /
cgroup: never migrate kernel threads out of the root cgroup
[elogind.git] / src / shared / utmp-wtmp.c
index bdb962af3497d9a901450b85be009dd4386dcfca..6fa9a3d7a316edd6f6600f1e7dc98ea04dda0660 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <utmpx.h>
 #include <errno.h>
-#include <assert.h>
 #include <string.h>
 #include <sys/utsname.h>
 #include <fcntl.h>
@@ -30,6 +29,8 @@
 
 #include "macro.h"
 #include "path-util.h"
+#include "terminal-util.h"
+#include "hostname-util.h"
 #include "utmp-wtmp.h"
 
 int utmp_get_runlevel(int *runlevel, int *previous) {