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>
This commit is contained in:
Muhammad Moinur Rahman 2022-10-12 12:52:22 -06:00 committed by Warner Losh
parent 344744e148
commit 41bf9322a0
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#ifndef I386_HOST_SIGNAL_H #ifndef I386_HOST_SIGNAL_H
#define I386_HOST_SIGNAL_H #define I386_HOST_SIGNAL_H
#include <sys/param.h>
#include <sys/ucontext.h> #include <sys/ucontext.h>
#include <machine/trap.h> #include <machine/trap.h>
#include <vm/pmap.h> #include <vm/pmap.h>

View File

@ -9,6 +9,7 @@
#ifndef X86_64_HOST_SIGNAL_H #ifndef X86_64_HOST_SIGNAL_H
#define X86_64_HOST_SIGNAL_H #define X86_64_HOST_SIGNAL_H
#include <sys/param.h>
#include <sys/ucontext.h> #include <sys/ucontext.h>
#include <machine/trap.h> #include <machine/trap.h>
#include <vm/pmap.h> #include <vm/pmap.h>