git: 3a6c9f345a6b - stable/13 - MFC: if_glxgb: fix stand-alone module build

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

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

commit 3a6c9f345a6b824fd1e0594e19f217e0176a6e76
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-06-05 17:54:50 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-06-08 01:20:26 +0000

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

diff --git a/sys/modules/qlxgb/Makefile b/sys/modules/qlxgb/Makefile
index cb53184d3154..49a7779d9054 100644
--- a/sys/modules/qlxgb/Makefile
+++ b/sys/modules/qlxgb/Makefile
@@ -33,6 +33,6 @@
 
 KMOD=	if_qlxgb
 SRCS=	qla_os.c qla_dbg.c qla_hw.c qla_misc.c qla_isr.c qla_ioctl.c
-SRCS+=	device_if.h bus_if.h pci_if.h
+SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h
 
 .include <bsd.kmod.mk>