Date: Thu, 6 Oct 2022 13:35:43 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: 232323a531f4 - main - Stop relying on header pollution in sdhci_xenon.c Message-ID: <202210061335.296DZhor018649@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=232323a531f42b7ecd60e8b67934c0225a1651ab commit 232323a531f42b7ecd60e8b67934c0225a1651ab Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2022-10-05 13:52:02 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2022-10-06 13:30:19 +0000 Stop relying on header pollution in sdhci_xenon.c Include sys/malloc.h directly in sdhci_xenon.c to get the malloc(9) definition rather than depend on header pollution. Sponsored by: The FreeBSD Foundation --- sys/dev/sdhci/sdhci_xenon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sdhci/sdhci_xenon.c b/sys/dev/sdhci/sdhci_xenon.c index 59669affe4c5..78428052f0fc 100644 --- a/sys/dev/sdhci/sdhci_xenon.c +++ b/sys/dev/sdhci/sdhci_xenon.c @@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/mutex.h> #include <sys/resource.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210061335.296DZhor018649>