]> git.proxmox.com Git - mirror_qemu.git/commitdiff
bsd-user: Catch up with sys/param.h requirement for machine/pmap.h
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>
Wed, 12 Oct 2022 18:52:22 +0000 (12:52 -0600)
committerWarner Losh <imp@bsdimp.com>
Wed, 26 Oct 2022 20:09:17 +0000 (14:09 -0600)
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>

bsd-user/host/i386/host-signal.h
bsd-user/host/x86_64/host-signal.h

index 169e61b154c97de154a93f5199685793f383a980..ffdfaba534acfb2bb2b06a5c3132a9dd1b91e8ec 100644 (file)
@@ -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>
index 47ca19f8814b2d4b7443bf3a701b49a59b63a557..32ac4e418034ebf2cc3ce5d5b4c9d83a7e118339 100644 (file)
@@ -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>