Date: Fri, 06 Feb 2026 16:23:18 +0000 From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 1a446f765d9c - main - sys/sysctl.h: Make it self-contained when included from the kernel Message-ID: <69861576.1f281.17979416@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=1a446f765d9cb34e8137ffa6dbb71ce551560cc1 commit 1a446f765d9cb34e8137ffa6dbb71ce551560cc1 Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2026-02-06 15:02:39 +0000 Commit: Olivier Certner <olce@FreeBSD.org> 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> #endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69861576.1f281.17979416>
