The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=1a446f765d9cb34e8137ffa6dbb71ce551560cc1
commit 1a446f765d9cb34e8137ffa6dbb71ce551560cc1 Author: Olivier Certner <[email protected]> AuthorDate: 2026-02-06 15:02:39 +0000 Commit: Olivier Certner <[email protected]> CommitDate: 2026-02-06 16:23:03 +0000 sys/sysctl.h: Make it self-contained when included from the kernel MFC after: 2 weeks Sponsored by: The FreeBSD Foundation --- sys/sys/sysctl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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
