git: 343c112dfea5 - main - altera: Fix build from 068f2c0e10

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Tue, 07 Mar 2023 16:57:27 UTC
The branch main has been updated by jhibbits:

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

commit 343c112dfea5fba9bd57e23e942cf939f69d7a34
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2023-03-07 16:42:09 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2023-03-07 17:00:00 +0000

    altera: Fix build from 068f2c0e10
    
    Missed the altera dwc driver in the conversion.
    
    Fixes:          068f2c0e10
    Sponsored by:   Juniper Networks, Inc.
---
 sys/dev/altera/dwc/if_dwc_socfpga.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/altera/dwc/if_dwc_socfpga.c b/sys/dev/altera/dwc/if_dwc_socfpga.c
index e899605c2541..35abb0393671 100644
--- a/sys/dev/altera/dwc/if_dwc_socfpga.c
+++ b/sys/dev/altera/dwc/if_dwc_socfpga.c
@@ -37,8 +37,11 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
 #include <sys/bus.h>
 #include <sys/kernel.h>
+#include <sys/socket.h>
 #include <sys/module.h>
 
+#include <net/if.h>
+
 #include <machine/bus.h>
 
 #include <dev/dwc/if_dwc.h>