diff options
author | Sam James <sam@gentoo.org> | 2023-01-29 04:19:15 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2023-01-29 11:32:22 -0600 |
commit | 91737be1abe3b82b2dfa6ee44da735dd4686ae80 (patch) | |
tree | d1c2d6e2f9c1a87afdfa446e47fefb11ee9bfce9 /src | |
parent | fb6ffc5713a944c878581c5f09f626c6493d81c1 (diff) |
openrc-run: missing includes from IWYU
Diffstat (limited to 'src')
-rw-r--r-- | src/openrc-run/openrc-run.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c index ab19eaad..0ede04a6 100644 --- a/src/openrc-run/openrc-run.c +++ b/src/openrc-run/openrc-run.c @@ -15,28 +15,26 @@ * except according to the terms contained in the LICENSE file. */ -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/file.h> -#include <sys/param.h> -#include <sys/stat.h> -#include <sys/wait.h> - #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <fnmatch.h> #include <getopt.h> #include <libgen.h> -#include <limits.h> #include <poll.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/ioctl.h> +#include <sys/file.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <sys/wait.h> #include <termios.h> #include <time.h> #include <unistd.h> +#include <stdbool.h> #if defined(__linux__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__)) \ || defined(__GNU__) @@ -54,6 +52,7 @@ #include "plugin.h" #include "selinux.h" #include "_usage.h" +#include "helpers.h" #define PREFIX_LOCK RC_SVCDIR "/prefix.lock" |