From 28ecb38515d6a8a52fa524a5fee8fda3e7cb8252 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 29 Jan 2023 04:16:01 +0000 Subject: openrc-shutdown: missing includes from IWYU --- src/openrc-shutdown/broadcast.c | 25 ++++++++++++------------- src/openrc-shutdown/openrc-shutdown.c | 7 +++++-- src/openrc-shutdown/sysvinit.c | 5 ++--- 3 files changed, 19 insertions(+), 18 deletions(-) (limited to 'src/openrc-shutdown') diff --git a/src/openrc-shutdown/broadcast.c b/src/openrc-shutdown/broadcast.c index 05672ee0..232f4ab7 100644 --- a/src/openrc-shutdown/broadcast.c +++ b/src/openrc-shutdown/broadcast.c @@ -12,24 +12,23 @@ * This file may not be copied, modified, propagated, or distributed * except according to the terms contained in the LICENSE file. */ -#include -#include -#include -#include -#include + + +#include +#include +#include +#include +#include +#include #include #include +#include +#include +#include +#include #include #include -#include -#include #include -#include -#include -#include -#include -#include -#include #include "broadcast.h" #include "helpers.h" 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 #include #include #include @@ -26,9 +27,11 @@ #include #include #include -#include #include -#include +#include +#include +#include +#include #include "broadcast.h" #include "einfo.h" diff --git a/src/openrc-shutdown/sysvinit.c b/src/openrc-shutdown/sysvinit.c index 84fc9ec2..bd5d5be0 100644 --- a/src/openrc-shutdown/sysvinit.c +++ b/src/openrc-shutdown/sysvinit.c @@ -17,11 +17,10 @@ #include #include -#include +#include #include -#include #include -#include +#include #include "einfo.h" #include "sysvinit.h" -- cgit v1.2.3