mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
4982884b99
commit
aa62d30d46
|
@ -36,6 +36,8 @@
|
|||
#ifndef __SYS__PV_ENTRY_H__
|
||||
#define __SYS__PV_ENTRY_H__
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
struct pmap;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue