Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2023 16:57:27 GMT
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 343c112dfea5 - main - altera: Fix build from 068f2c0e10
Message-ID:  <202303071657.327GvRMC023224@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303071657.327GvRMC023224>