From cb3e16ae1034a2c4961aa569840dd72050cf92de Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 1 Sep 2021 15:54:40 +0000 Subject: [PATCH] A couple commands don't need sys/param.h, but they do need sys/signal.h --- usr.bin/ktrace/ktrace.c | 4 +++- usr.bin/ktrace/subr.c | 3 ++- usr.bin/pkill/pkill.c | 4 ++-- usr.sbin/snmpd/mib.c | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c index f87a16f64c0..56fb8da6a19 100644 --- a/usr.bin/ktrace/ktrace.c +++ b/usr.bin/ktrace/ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ktrace.c,v 1.37 2020/07/16 17:47:41 tedu Exp $ */ +/* $OpenBSD: ktrace.c,v 1.38 2021/09/01 15:54:40 deraadt Exp $ */ /* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */ /*- @@ -31,6 +31,7 @@ */ #include /* MAXCOMLEN */ +#include #include #include #include @@ -41,6 +42,7 @@ #include #include #include +#include #include #include #include diff --git a/usr.bin/ktrace/subr.c b/usr.bin/ktrace/subr.c index 02e394a8960..cfc23041cd0 100644 --- a/usr.bin/ktrace/subr.c +++ b/usr.bin/ktrace/subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr.c,v 1.14 2018/04/26 12:42:51 guenther Exp $ */ +/* $OpenBSD: subr.c,v 1.15 2021/09/01 15:54:40 deraadt Exp $ */ /* $NetBSD: subr.c,v 1.6 1995/08/31 23:01:45 jtc Exp $ */ /*- @@ -32,6 +32,7 @@ #include /* MAXCOMLEN */ #include +#include #include #include "ktrace.h" diff --git a/usr.bin/pkill/pkill.c b/usr.bin/pkill/pkill.c index 8dc98cc482d..c9ed8cc9e3b 100644 --- a/usr.bin/pkill/pkill.c +++ b/usr.bin/pkill/pkill.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkill.c,v 1.42 2019/12/16 19:21:17 guenther Exp $ */ +/* $OpenBSD: pkill.c,v 1.43 2021/09/01 15:54:40 deraadt Exp $ */ /* $NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $ */ /*- @@ -30,9 +30,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include /* MAXCOMLEN */ #include #include +#include #include #include #include diff --git a/usr.sbin/snmpd/mib.c b/usr.sbin/snmpd/mib.c index 663658d43e5..a1570646a7e 100644 --- a/usr.sbin/snmpd/mib.c +++ b/usr.sbin/snmpd/mib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mib.c,v 1.101 2020/09/06 16:12:23 jan Exp $ */ +/* $OpenBSD: mib.c,v 1.102 2021/09/01 15:54:40 deraadt Exp $ */ /* * Copyright (c) 2012 Joel Knight @@ -17,7 +17,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include /* MAXCOMLEN */ +#include +#include #include #include #include -- 2.20.1