chiark / gitweb /
Unifiy free() usage
[elogind.git] / src / shared / utmp-wtmp.c
index 31f13ec808c0c5567ac421b4fb3ada62cf812ede..6fa9a3d7a316edd6f6600f1e7dc98ea04dda0660 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 "terminal-util.h"
+#include "hostname-util.h"
 #include "utmp-wtmp.h"
 
 int utmp_get_runlevel(int *runlevel, int *previous) {