From: Muhammad Moinur Rahman Date: Wed, 12 Oct 2022 18:52:22 +0000 (-0600) Subject: bsd-user: Catch up with sys/param.h requirement for machine/pmap.h X-Git-Tag: v7.2.0-rc0~26^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=41bf9322a0f8378b1194324cf7c6048253673046;p=users%2Fdwmw2%2Fqemu.git bsd-user: Catch up with sys/param.h requirement for machine/pmap.h Some versions of FreeBSD now require sys/param.h for machine/pmap.h on x86. Include them here to meet that requirement. It does no harm on older versions, so there's no need to #ifdef it. Signed-off-by: Muhammad Moinur Rahman Reviewed-by: John Baldwin Signed-off-by: Warner Losh --- diff --git a/bsd-user/host/i386/host-signal.h b/bsd-user/host/i386/host-signal.h index 169e61b154..ffdfaba534 100644 --- a/bsd-user/host/i386/host-signal.h +++ b/bsd-user/host/i386/host-signal.h @@ -9,6 +9,7 @@ #ifndef I386_HOST_SIGNAL_H #define I386_HOST_SIGNAL_H +#include #include #include #include diff --git a/bsd-user/host/x86_64/host-signal.h b/bsd-user/host/x86_64/host-signal.h index 47ca19f881..32ac4e4180 100644 --- a/bsd-user/host/x86_64/host-signal.h +++ b/bsd-user/host/x86_64/host-signal.h @@ -9,6 +9,7 @@ #ifndef X86_64_HOST_SIGNAL_H #define X86_64_HOST_SIGNAL_H +#include #include #include #include