From 20105486d8e42ae2af0341216e54e62de7d14571 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 17 Sep 2021 15:13:50 +0000 Subject: [PATCH] sys/param.h is only needed for MAXCOMLEN, but a few header files which must be manually included in userland were missing --- usr.bin/kdump/mksubr | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr index 23a66dee17d..4ccbbaddefc 100644 --- a/usr.bin/kdump/mksubr +++ b/usr.bin/kdump/mksubr @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: mksubr,v 1.36 2018/11/05 17:05:50 anton Exp $ +# $OpenBSD: mksubr,v 1.37 2021/09/17 15:13:50 deraadt Exp $ # # Copyright (c) 2006 David Kirchner # @@ -259,8 +259,9 @@ _EOF_ # C start cat <<_EOF_ -#include -#include +#include /* MAXCOMLEN */ +#include +#include #include #include #include @@ -272,7 +273,6 @@ cat <<_EOF_ #include #include #include -#include #include #include #include @@ -302,6 +302,7 @@ cat <<_EOF_ #include #include #include +#include #include "kdump_subr.h" -- 2.20.1