Unconditionally include <sys/systm.h> for KASSERT{,MSG}().

Fix (!DIAGNOSTIC && !DEBUG) build.
This commit is contained in:
rin 2022-09-04 22:34:58 +00:00
parent 8e20f85d38
commit 09399eea1c
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu_subr.c,v 1.7 2022/09/02 12:29:58 rin Exp $ */ /* $NetBSD: fpu_subr.c,v 1.8 2022/09/04 22:34:58 rin Exp $ */
/* /*
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
@ -45,12 +45,10 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fpu_subr.c,v 1.7 2022/09/02 12:29:58 rin Exp $"); __KERNEL_RCSID(0, "$NetBSD: fpu_subr.c,v 1.8 2022/09/04 22:34:58 rin Exp $");
#include <sys/types.h> #include <sys/types.h>
#if defined(DIAGNOSTIC)||defined(DEBUG)
#include <sys/systm.h> #include <sys/systm.h>
#endif
#include <powerpc/instr.h> #include <powerpc/instr.h>
#include <machine/fpu.h> #include <machine/fpu.h>