git: 7e49b54014b4 - stable/13 - netlink: remove private netlink_var.h header from the non-netlink core files.

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Mon, 23 Jan 2023 22:11:56 UTC
The branch stable/13 has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=7e49b54014b4b7d16c41956899b2ac1bcdc8c5ce

commit 7e49b54014b4b7d16c41956899b2ac1bcdc8c5ce
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2022-11-03 17:03:26 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-01-23 22:04:02 +0000

    netlink: remove private netlink_var.h header from the non-netlink core files.
    
    (cherry picked from commit 669d63eb85066be6b53d1a6ee6d0441fd0f46595)
---
 sys/netlink/netlink_generic.c | 2 +-
 sys/netlink/netlink_route.c   | 2 +-
 sys/netlink/route/nexthop.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/netlink/netlink_generic.c b/sys/netlink/netlink_generic.c
index ffb9f8bcfb86..5d074640ad60 100644
--- a/sys/netlink/netlink_generic.c
+++ b/sys/netlink/netlink_generic.c
@@ -29,6 +29,7 @@
 __FBSDID("$FreeBSD$");
 #include <sys/types.h>
 #include <sys/ck.h>
+#include <sys/epoch.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
 #include <sys/malloc.h>
@@ -38,7 +39,6 @@ __FBSDID("$FreeBSD$");
 
 #include <netlink/netlink.h>
 #include <netlink/netlink_ctl.h>
-#include <netlink/netlink_var.h>
 #include <netlink/netlink_generic.h>
 
 #define	DEBUG_MOD_NAME	nl_generic
diff --git a/sys/netlink/netlink_route.c b/sys/netlink/netlink_route.c
index 5fdd1283e4ad..cc1a0cc6db8d 100644
--- a/sys/netlink/netlink_route.c
+++ b/sys/netlink/netlink_route.c
@@ -29,6 +29,7 @@
 __FBSDID("$FreeBSD$");
 #include <sys/types.h>
 #include <sys/ck.h>
+#include <sys/epoch.h>
 #include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/socket.h>
@@ -37,7 +38,6 @@ __FBSDID("$FreeBSD$");
 #include <net/route/route_ctl.h>
 #include <netlink/netlink.h>
 #include <netlink/netlink_ctl.h>
-#include <netlink/netlink_var.h>
 #include <netlink/netlink_route.h>
 #include <netlink/route/route_var.h>
 
diff --git a/sys/netlink/route/nexthop.c b/sys/netlink/route/nexthop.c
index 64f46ad035fc..cd184a635eb4 100644
--- a/sys/netlink/route/nexthop.c
+++ b/sys/netlink/route/nexthop.c
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
 #include "opt_route.h"
 #include <sys/types.h>
 #include <sys/ck.h>
+#include <sys/epoch.h>
 #include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/rmlock.h>
@@ -47,7 +48,6 @@ __FBSDID("$FreeBSD$");
 #include <netinet6/scope6_var.h>
 #include <netlink/netlink.h>
 #include <netlink/netlink_ctl.h>
-#include <netlink/netlink_var.h>
 #include <netlink/netlink_route.h>
 #include <netlink/route/route_var.h>