aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-04-08 17:37:25 +0000
committerMark Johnston <markj@FreeBSD.org>2024-04-10 12:53:49 +0000
commit1d14e88e5332cfddbec1893f6b5332f81d378d61 (patch)
tree13e4018099e2c9257b504b89ebf3dd9df72437e6
parent989a2cf19d053954f0bad28790114a374b05c9c1 (diff)
tcp: Make tcp_var.h more self-contained
struct tcpcb embeds a struct osd and a struct callout. Rather than forcing all consumers to pull in the same headers, include the headers directly. No functional change intended. Reviewed by: glebius MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D44685
-rw-r--r--sys/netinet/tcp_var.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index b16410dad4db..a339f52c2ffa 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -86,6 +86,9 @@
#define TCP_EI_BITS_2MS_TIMER 0x400 /* 2 MSL timer expired */
#if defined(_KERNEL) || defined(_WANT_TCPCB)
+#include <sys/_callout.h>
+#include <sys/osd.h>
+
#include <netinet/cc/cc.h>
/* TCP segment queue entry */