Date: Thu, 23 Jul 2026 10:00:31 +0000 From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 3d20f69bdaac - stable/14 - sys/sysctl.h: Make it self-contained when included from the kernel Message-ID: <6a61e63f.3bd7a.1a4a46b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=3d20f69bdaacf27b93e4496fe0460e8b051c445b commit 3d20f69bdaacf27b93e4496fe0460e8b051c445b Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2026-02-06 15:02:39 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2026-07-23 09:59:01 +0000 sys/sysctl.h: Make it self-contained when included from the kernel MFC after: 2 weeks Sponsored by: The FreeBSD Foundation (cherry picked from commit 1a446f765d9cb34e8137ffa6dbb71ce551560cc1) --- 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 f08080d4e4fa..eb1a3e385c92 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -38,7 +38,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?6a61e63f.3bd7a.1a4a46b>
