Module Name: src
Committed By: riastradh
Date: Mon Sep 25 14:56:56 UTC 2023
Modified Files:
src/sys/arch/sbmips/include: systemsw.h
Log Message:
sbmips/systemsw.h: sys/stdbool.h for bool.
XXX sys/types.h should bring this in too, but that doesn't happen in
the crash(8) build, perhaps because sys/types.h only includes
sys/stdbool.h under _KERNEL or _STANDALONE but not _KMEMUSER -- maybe
we should fix that but this is a lower-risk change for now to fix a
build problem.
Found by Jan-Benedict Glaw.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sbmips/include/systemsw.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sbmips/include/systemsw.h
diff -u src/sys/arch/sbmips/include/systemsw.h:1.9 src/sys/arch/sbmips/include/systemsw.h:1.10
--- src/sys/arch/sbmips/include/systemsw.h:1.9 Sun Feb 20 07:47:38 2011
+++ src/sys/arch/sbmips/include/systemsw.h Mon Sep 25 14:56:56 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: systemsw.h,v 1.9 2011/02/20 07:47:38 matt Exp $ */
+/* $NetBSD: systemsw.h,v 1.10 2023/09/25 14:56:56 riastradh Exp $ */
/*
* Copyright 2000, 2001
@@ -37,6 +37,8 @@
#include <sys/types.h>
+#include <sys/stdbool.h>
+
struct systemsw {
/* ordered to match likely locality. */
void (*s_cpu_intr)(int, vaddr_t, uint32_t);