sys/_pv_entry.h: Include sys/param.h

sys/param.h is required for this file because it uses howmany() which is
defined there. For the kernel, this works today because of namespace
polllution. However, user land programs, like qemu, can include
machine/pmap.h without having included sys/param.h (since it wasn't
required before).

Sponsored by:		Netflix
Reviewed by:		tsoome, jhb
Differential Revision:	https://reviews.freebsd.org/D36927
This commit is contained in:
Warner Losh 2022-10-11 12:51:55 -06:00
parent 4982884b99
commit aa62d30d46

View File

@ -36,6 +36,8 @@
#ifndef __SYS__PV_ENTRY_H__ #ifndef __SYS__PV_ENTRY_H__
#define __SYS__PV_ENTRY_H__ #define __SYS__PV_ENTRY_H__
#include <sys/param.h>
struct pmap; struct pmap;
/* /*