git: 232323a531f4 - main - Stop relying on header pollution in sdhci_xenon.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Oct 2022 13:35:43 UTC
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>