Date: Thu, 3 Nov 2022 10:16:30 GMT From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 81bdc9ebe3d5 - main - Include sys/malloc.h directly in the qoriq clock Message-ID: <202211031016.2A3AGUTE021576@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=81bdc9ebe3d55a4ee30ee123ada62e1fe1ea9b63 commit 81bdc9ebe3d55a4ee30ee123ada62e1fe1ea9b63 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2022-11-03 09:41:05 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2022-11-03 09:45:47 +0000 Include sys/malloc.h directly in the qoriq clock We depend on header pollution to include sys/malloc.h. Include it directly to fix the no-FDT build. --- sys/arm64/qoriq/clk/qoriq_clk_pll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/arm64/qoriq/clk/qoriq_clk_pll.c b/sys/arm64/qoriq/clk/qoriq_clk_pll.c index 813bc76c3349..e7127387ceff 100644 --- a/sys/arm64/qoriq/clk/qoriq_clk_pll.c +++ b/sys/arm64/qoriq/clk/qoriq_clk_pll.c @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/bus.h> +#include <sys/malloc.h> #include <dev/extres/clk/clk.h> #include <dev/extres/clk/clk_fixed.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211031016.2A3AGUTE021576>