git: b894193501a7 - main - netlink: fix linux module build w/ netlink.
Date: Mon, 27 Mar 2023 18:21:34 UTC
The branch main has been updated by melifaro:
URL: https://cgit.FreeBSD.org/src/commit/?id=b894193501a7cb6ce5eed3cf86be5dd773cbbb2d
commit b894193501a7cb6ce5eed3cf86be5dd773cbbb2d
Author: Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2023-03-27 18:20:38 +0000
Commit: Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-03-27 18:21:26 +0000
netlink: fix linux module build w/ netlink.
Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
MFC after: 2 weeks
---
sys/compat/linux/linux_netlink.c | 1 +
sys/modules/linux/Makefile | 1 +
2 files changed, 2 insertions(+)
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 \