kassert: Explicitly include <sys/_types.h>

Include it as <sys/kassert.h> has direct references defined in it (to
'__va_list' and '__printflike' at least).

This is a step to make <sys/kassert.h> usable without the need to
explicitly include other headers.

Reviewed by:    imp, markj
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D49972

(cherry picked from commit 0f2090ccfe)
This commit is contained in:
Olivier Certner 2025-04-07 14:16:34 +02:00
parent 49066283a4
commit 3772cb0620
No known key found for this signature in database
GPG key ID: 8CA13040971E2627

View file

@ -31,6 +31,7 @@
#ifndef _SYS_KASSERT_H_
#define _SYS_KASSERT_H_
#include <sys/_types.h>
#include <sys/cdefs.h>
#ifdef _KERNEL