aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2023-01-23 15:05:29 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2023-01-31 20:02:16 +0000
commit3d0d5b21c9b2cfd7e48209340a090f63ca4bce03 (patch)
treea5debcaa7044f86ca30eb3307bf4b31c915d0704 /sys/netinet/tcp_subr.c
parent30af2c131bb05528f9b14518a7ed3e98c590b55e (diff)
downloadsrc-3d0d5b21c9b2cfd7e48209340a090f63ca4bce03.tar.gz
src-3d0d5b21c9b2cfd7e48209340a090f63ca4bce03.zip
IfAPI: Explicitly include <net/if_private.h> in netstack
Summary: In preparation of making if_t completely opaque outside of the netstack, explicitly include the header. <net/if_var.h> will stop including the header in the future. Sponsored by: Juniper Networks, Inc. Reviewed by: glebius, melifaro Differential Revision: https://reviews.freebsd.org/D38200
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 99fcd1f90a8a..01fd5eed34c8 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -75,6 +75,7 @@ __FBSDID("$FreeBSD$");
#include <net/route/nhop.h>
#include <net/if.h>
#include <net/if_var.h>
+#include <net/if_private.h>
#include <net/vnet.h>
#include <netinet/in.h>