[Bug 274306] The nlsysevent kernel module fails to load.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Oct 2023 13:19:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274306

--- Comment #2 from Kristof Provost <kp@freebsd.org> ---
diff --git a/sys/netlink/netlink_sysevent.c b/sys/netlink/netlink_sysevent.c
index 01d0837b14d2..e3abdd688e66 100644
--- a/sys/netlink/netlink_sysevent.c
+++ b/sys/netlink/netlink_sysevent.c
@@ -25,6 +25,8 @@
  * SUCH DAMAGE.
  */

+#include "opt_netlink.h"
+
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/devctl.h>

ought to fix it, but this is a more common problem, so I wonder if we can't do
the include in the relevant netlink code instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.