The branch main has been updated by manu:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b911f504005df67f8c25f9b2f817c16588cd309c

commit b911f504005df67f8c25f9b2f817c16588cd309c
Author:     Emmanuel Vadot <[email protected]>
AuthorDate: 2023-10-05 16:59:56 +0000
Commit:     Emmanuel Vadot <[email protected]>
CommitDate: 2023-10-05 17:00:55 +0000

    dwc: if_dwc_aw: Include net/if_media.h
    
    Needed my miivar.h
    
    Fixes:  6b73554e3e9b ("dwc: Do not re-invent phy mode type")
---
 sys/dev/dwc/if_dwc_aw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/dwc/if_dwc_aw.c b/sys/dev/dwc/if_dwc_aw.c
index 6419c9dedca8..4b2735cd07cf 100644
--- a/sys/dev/dwc/if_dwc_aw.c
+++ b/sys/dev/dwc/if_dwc_aw.c
@@ -33,6 +33,7 @@
 #include <sys/module.h>
 
 #include <net/if.h>
+#include <net/if_media.h>
 
 #include <machine/bus.h>
 

Reply via email to