Date: Thu, 29 Sep 2022 19:33:48 GMT From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 79794d5c18b7 - main - extres: syscon: pull in sys/malloc.h (fix !FDT) Message-ID: <202209291933.28TJXmUW015020@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=79794d5c18b7df9458b3c609a189bf2159e234e4 commit 79794d5c18b7df9458b3c609a189bf2159e234e4 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2022-09-29 19:33:32 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2022-09-29 19:33:32 +0000 extres: syscon: pull in sys/malloc.h (fix !FDT) syscon currently includes sys/malloc.h via header pollution from dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h. Fix the build without FDT defined by including sys/malloc.h directly. Reviewed by: andrew, imp, manu Differential Revision: https://reviews.freebsd.org/D36787 --- sys/dev/extres/syscon/syscon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/extres/syscon/syscon.c b/sys/dev/extres/syscon/syscon.c index 9bae30432880..3701c6e8fe70 100644 --- a/sys/dev/extres/syscon/syscon.c +++ b/sys/dev/extres/syscon/syscon.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/kobj.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/rman.h> #include <sys/sx.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209291933.28TJXmUW015020>