Skip to content

Commit

Permalink
bsd-user: Catch up with sys/param.h requirement for machine/pmap.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
5u623l20 authored and bsdimp committed Oct 26, 2022
1 parent 344744e commit 41bf932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bsd-user/host/i386/host-signal.h
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions bsd-user/host/x86_64/host-signal.h
Expand Up @@ -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>
Expand Down

0 comments on commit 41bf932

Please sign in to comment.