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:
Konstantin Belousov 2020-02-04 18:56:26 +00:00
parent b66352b787
commit a421e8786b
2 changed files with 3 additions and 1 deletions

View file

@ -28,6 +28,7 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
#include <sys/freebsd_rwlock.h>

View file

@ -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>