git: cd5c0287485c - stable/13 - Include sys/systm.h in phy_usb.c for KASSERT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jan 2023 12:37:34 UTC
The branch stable/13 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=cd5c0287485c3720d9ec24f38735b669132178f0
commit cd5c0287485c3720d9ec24f38735b669132178f0
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-10-28 17:12:31 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-01-23 12:36:27 +0000
Include sys/systm.h in phy_usb.c for KASSERT
Rather than depending on header pollution include systm.h directly.
Sponsored by: Innovate UK
(cherry picked from commit 754358108c1fa4e1818215c5ea085e13576ed798)
---
sys/dev/extres/phy/phy_usb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/dev/extres/phy/phy_usb.c b/sys/dev/extres/phy/phy_usb.c
index 891db493634b..ce25993482a5 100644
--- a/sys/dev/extres/phy/phy_usb.c
+++ b/sys/dev/extres/phy/phy_usb.c
@@ -28,6 +28,7 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/queue.h>