git: 0bbbd845fd32 - stable/13 - MFC: if_glxgbe: fix stand-alone module build

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Wed, 08 Jun 2022 01:21:41 UTC
The branch stable/13 has been updated by eugen:

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

commit 0bbbd845fd32ef07707c03d1dc4e4b27f6ebef83
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-06-05 17:59:46 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-06-08 01:21:21 +0000

    MFC: if_glxgbe: fix stand-alone module build
    
    Fix module build outside of kernel build environment.
    
    (cherry picked from commit 32467e47b7b7d224ca51889bbb9233af0462d87f)
---
 sys/modules/qlxgbe/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/modules/qlxgbe/Makefile b/sys/modules/qlxgbe/Makefile
index 81402e4f5a82..3a83bd967082 100644
--- a/sys/modules/qlxgbe/Makefile
+++ b/sys/modules/qlxgbe/Makefile
@@ -42,7 +42,7 @@ SRCS+= ql_fw.c
 SRCS+= ql_boot.c
 SRCS+= ql_minidump.c
 
-SRCS+= device_if.h bus_if.h pci_if.h
+SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h
 
 CFLAGS += -DQLA_LOCK_NO_SLEEP=1
 #CFLAGS += -DQL_DBG -g