diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-06 20:49:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-06 20:49:12 +0100 |
commit | e28039b2eba3abc6a74d24c226fb1cecfa6f7545 (patch) | |
tree | 9f873c7724d95f28b35d6b9b28915cefb04af55d /src/shared/utmp-wtmp.c | |
parent | c8a65ef42da42bc2584162d273b64c66d76f4dae (diff) | |
parent | 22ebb9e4a9d8802b194eccc050552d0e188af489 (diff) |
Merge pull request #2107 from phomes/misc
Misc cleanups
Diffstat (limited to 'src/shared/utmp-wtmp.c')
-rw-r--r-- | src/shared/utmp-wtmp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index 13b32a0509..e72f6fa1a2 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -22,7 +22,11 @@ #include <errno.h> #include <fcntl.h> #include <poll.h> +#include <stddef.h> +#include <stdio.h> +#include <stdlib.h> #include <string.h> +#include <sys/time.h> #include <sys/utsname.h> #include <unistd.h> #include <utmpx.h> @@ -34,7 +38,9 @@ #include "path-util.h" #include "string-util.h" #include "terminal-util.h" +#include "time-util.h" #include "user-util.h" +#include "util.h" #include "utmp-wtmp.h" int utmp_get_runlevel(int *runlevel, int *previous) { |