linux(4): Fix opt_netlink.h inclusion

Add opt_netlink.h to the linux_common module, on i386, where we don't
uses linux_common module, move opt_netlink.h inclusion under
i386 condition.

MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2023-03-31 14:56:59 +03:00
parent 126df352f5
commit 960562652c
2 changed files with 4 additions and 3 deletions

View File

@ -36,7 +36,6 @@ SRCS= linux${SFX}_dummy_machdep.c \
linux_vdso.c \
opt_inet6.h \
opt_ktrace.h \
opt_netlink.h \
opt_posix.h \
bus_if.h \
device_if.h \
@ -71,7 +70,8 @@ SRCS+= imgact_linux.c \
linux_vdso_selector_x86.c \
linux_x86.c \
linux_copyout.c \
linux_netlink.c
linux_netlink.c \
opt_netlink.h
.endif
.if ${MACHINE_CPUARCH} == "i386"

View File

@ -8,7 +8,8 @@
KMOD= linux_common
SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
linux_dummy.c linux_errno.c linux_netlink.c \
linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h opt_inet.h
linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h opt_inet.h \
opt_netlink.h
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+= linux_x86.c linux_vdso_selector_x86.c