i386 machine/cpu.h: include sys/systm.h for cpu_ticks()

Fixes build of graphics/drm-510-kmod on i386.
This commit is contained in:
Tijl Coosemans 2022-08-31 20:56:49 +02:00
parent 90098ee30e
commit 598b6d4a7c

View File

@ -41,6 +41,9 @@
/*
* Definitions unique to i386 cpu support.
*/
#ifdef _KERNEL
#include <sys/systm.h> /* For cpu_ticks(). */
#endif
#include <machine/psl.h>
#include <machine/frame.h>
#include <machine/segments.h>