git: ca8e2e4c91cc - stable/14 - tcp: Make tcp_var.h more self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Apr 2024 14:34:48 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ca8e2e4c91cc40ce963b9d82531a14beb1a95e5a commit ca8e2e4c91cc40ce963b9d82531a14beb1a95e5a Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-04-08 17:37:25 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-04-17 14:33:27 +0000 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 (cherry picked from commit 1d14e88e5332cfddbec1893f6b5332f81d378d61) --- sys/netinet/tcp_var.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index b541e3c955d9..1dc40c790b3e 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -88,6 +88,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 */