diff options
author | Sam James <sam@gentoo.org> | 2023-01-29 04:16:33 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2023-01-29 11:32:22 -0600 |
commit | fb6ffc5713a944c878581c5f09f626c6493d81c1 (patch) | |
tree | 5e1678b06486724a04c4ba757de7eb2e4eba64cb /src/openrc/rc.c | |
parent | 01acbe3c271c1e84370569af24119de140ea9831 (diff) |
openrc: missing includes from IWYU
Diffstat (limited to 'src/openrc/rc.c')
-rw-r--r-- | src/openrc/rc.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/openrc/rc.c b/src/openrc/rc.c index 55e85078..aaf1043e 100644 --- a/src/openrc/rc.c +++ b/src/openrc/rc.c @@ -20,26 +20,21 @@ * except according to the terms contained in the LICENSE file. */ -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/param.h> -#include <sys/stat.h> -#include <sys/utsname.h> -#include <sys/wait.h> - #include <errno.h> #include <dirent.h> -#include <ctype.h> #include <getopt.h> #include <libgen.h> -#include <limits.h> #include <pwd.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <string.h> -#include <strings.h> +#include <sys/ioctl.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <sys/utsname.h> +#include <sys/wait.h> #include <termios.h> #include <unistd.h> @@ -49,9 +44,9 @@ #include "rc-logger.h" #include "misc.h" #include "plugin.h" - #include "version.h" #include "_usage.h" +#include "helpers.h" const char *extraopts = NULL; const char getoptstring[] = "a:no:s:S" getoptstring_COMMON; |