aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/host
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-10-12 12:52:22 -0600
committerWarner Losh <imp@bsdimp.com>2022-10-26 14:09:17 -0600
commit41bf9322a0f8378b1194324cf7c6048253673046 (patch)
tree8b405073c220eb0006f14865ff7262f2ca823156 /bsd-user/host
parent344744e148e6e865f5a57e745b02a87e5ea534ad (diff)
downloadqemu-41bf9322a0f8378b1194324cf7c6048253673046.zip
qemu-41bf9322a0f8378b1194324cf7c6048253673046.tar.gz
qemu-41bf9322a0f8378b1194324cf7c6048253673046.tar.bz2
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 <bofh@FreeBSD.org> Reviewed-by: John Baldwin <jhb@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'bsd-user/host')
-rw-r--r--bsd-user/host/i386/host-signal.h1
-rw-r--r--bsd-user/host/x86_64/host-signal.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/bsd-user/host/i386/host-signal.h b/bsd-user/host/i386/host-signal.h
index 169e61b..ffdfaba 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 <sys/param.h>
#include <sys/ucontext.h>
#include <machine/trap.h>
#include <vm/pmap.h>
diff --git a/bsd-user/host/x86_64/host-signal.h b/bsd-user/host/x86_64/host-signal.h
index 47ca19f..32ac4e4 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 <sys/param.h>
#include <sys/ucontext.h>
#include <machine/trap.h>
#include <vm/pmap.h>