aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2026-02-06 20:46:48 +0000
committerOlivier Certner <olce@FreeBSD.org>2026-02-06 20:51:21 +0000
commitbfd50a32ff26067552220c6f08e6025be3603962 (patch)
tree270067e60b0716cccb74635b25e6829587629d08
parent21dd554d16971a9cce36bb48ebbf5219297995b4 (diff)
sys/sysctl.h: Add missing <sys/kassert.h> include
Hopefully, 'sys/sysctl.h' is really self-contained now. This fixes the GENERIC-NODEBUG compilation error in 'hwpstate_common.c' after commit 804329587508 (see below). Fixes: 1a446f765d9c ("sys/sysctl.h: Make it self-contained when included from the kernel") Fixes: 804329587508 ("hwpstate{_amd,intel}(4): Move common knobs to a separate file") Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/sys/sysctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 139b4bc5d9da..273dd2a71d30 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -38,6 +38,7 @@
#ifdef _KERNEL
#include <sys/types.h>
#include <sys/_null.h>
+#include <sys/kassert.h>
#include <sys/queue.h>
#include <sys/tree.h>
#endif