mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Add sys/systm.h to several places that use vm headers.
It is needed (but not enough) to use e.g. KASSERT() in inline functions. Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
b66352b787
commit
a421e8786b
2 changed files with 3 additions and 1 deletions
|
|
@ -28,6 +28,7 @@
|
|||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/freebsd_rwlock.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@
|
|||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/rwlock.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue