chiark / gitweb /
btrfs-util: fix creating recursive read-only snapshots
[elogind.git] / src / shared / utmp-wtmp.c
index 31f13ec808c0c5567ac421b4fb3ada62cf812ede..d6c4cc81b32847c815997bc5609b2c2eb1d6eb05 100644 (file)
 
 #include <utmpx.h>
 #include <errno.h>
-#include <assert.h>
 #include <string.h>
 #include <sys/utsname.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
 
 #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 };