aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2023-03-27 18:20:38 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2023-03-27 18:21:26 +0000
commitb894193501a7cb6ce5eed3cf86be5dd773cbbb2d (patch)
treee26ec3a6b3687776e6d73e869077c48d377a3851
parent27c8d4851c15810fe4dc71dc12d343587f6ecdf2 (diff)
netlink: fix linux module build w/ netlink.
Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> MFC after: 2 weeks
-rw-r--r--sys/compat/linux/linux_netlink.c1
-rw-r--r--sys/modules/linux/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_netlink.c b/sys/compat/linux/linux_netlink.c
index 9edfbfc2c031..0e8188d4cdf6 100644
--- a/sys/compat/linux/linux_netlink.c
+++ b/sys/compat/linux/linux_netlink.c
@@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$");
#include "opt_inet.h"
#include "opt_inet6.h"
+#include "opt_netlink.h"
#include <sys/types.h>
#include <sys/ck.h>
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index be2c60a42847..43d7f2c240b8 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -36,6 +36,7 @@ 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 \