chiark / gitweb /
btrfs-util: introduce btrfs_is_filesystem() and make use of it where appropriate
[elogind.git] / src / shared / utmp-wtmp.c
index bdb962af3497d9a901450b85be009dd4386dcfca..d6c4cc81b32847c815997bc5609b2c2eb1d6eb05 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>
@@ -31,6 +30,7 @@
 #include "macro.h"
 #include "path-util.h"
 #include "utmp-wtmp.h"
+#include "terminal-util.h"
 
 int utmp_get_runlevel(int *runlevel, int *previous) {
         struct utmpx *found, lookup = { .ut_type = RUN_LVL };