mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
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:
parent
49066283a4
commit
3772cb0620
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#ifndef _SYS_KASSERT_H_
|
||||
#define _SYS_KASSERT_H_
|
||||
|
||||
#include <sys/_types.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
|
|
|||
Loading…
Reference in a new issue