diff options
author | Sam James <sam@gentoo.org> | 2023-01-29 04:16:01 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2023-01-29 11:32:22 -0600 |
commit | 28ecb38515d6a8a52fa524a5fee8fda3e7cb8252 (patch) | |
tree | 1fbcffe2f86826404fb75492d597dbe9b5b6266f /src/openrc-shutdown/openrc-shutdown.c | |
parent | 91737be1abe3b82b2dfa6ee44da735dd4686ae80 (diff) |
openrc-shutdown: missing includes from IWYU
Diffstat (limited to 'src/openrc-shutdown/openrc-shutdown.c')
-rw-r--r-- | src/openrc-shutdown/openrc-shutdown.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/openrc-shutdown/openrc-shutdown.c b/src/openrc-shutdown/openrc-shutdown.c index a2fae5f5..c73d8e6d 100644 --- a/src/openrc-shutdown/openrc-shutdown.c +++ b/src/openrc-shutdown/openrc-shutdown.c @@ -19,6 +19,7 @@ * except according to the terms contained in the LICENSE file. */ +#include <errno.h> #include <getopt.h> #include <signal.h> #include <stdbool.h> @@ -26,9 +27,11 @@ #include <stdlib.h> #include <string.h> #include <syslog.h> -#include <unistd.h> #include <sys/types.h> -#include <sys/utsname.h> +#include <strings.h> +#include <unistd.h> +#include <time.h> +#include <utmp.h> #include "broadcast.h" #include "einfo.h" |