From ab393e9548f8cc0ee28499c411963b798ebb38a5 Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Thu, 12 Oct 2023 21:55:57 +0200 Subject: netlink: move NETLINK define to opt_global.h Move the NETLINK define into opt_global.h so we can rely on it being set correctly, without having to remember to include opt_netlink.h. This ensures that the NETLINK define is correctly set. If not we may end up with unloadable modules, due to missing symbols (such as nlmsg_get_group_writer). PR: 274306 Reviewed by: imp, markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42179 --- sys/tests/ktest.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/tests') diff --git a/sys/tests/ktest.c b/sys/tests/ktest.c index 495fedf95dde..cd83a6aaaa3f 100644 --- a/sys/tests/ktest.c +++ b/sys/tests/ktest.c @@ -25,8 +25,6 @@ * SUCH DAMAGE. */ -#include "opt_netlink.h" - #include #include #include -- cgit v1.3