aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2026-02-06 15:02:39 +0000
committerOlivier Certner <olce@FreeBSD.org>2026-02-06 16:23:03 +0000
commit1a446f765d9cb34e8137ffa6dbb71ce551560cc1 (patch)
treea894fbc80d2aec45ff5204a5a3bc92e725969378
parent067ad8b31bf68b6dcf1ad571746349ed88d63d00 (diff)
sys/sysctl.h: Make it self-contained when included from the kernel
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/sys/sysctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 902f5bde9c37..139b4bc5d9da 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -36,7 +36,8 @@
#define _SYS_SYSCTL_H_
#ifdef _KERNEL
-#include <sys/cdefs.h>
+#include <sys/types.h>
+#include <sys/_null.h>
#include <sys/queue.h>
#include <sys/tree.h>
#endif