git: 1d14e88e5332 - main - tcp: Make tcp_var.h more self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Apr 2024 12:54:22 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=1d14e88e5332cfddbec1893f6b5332f81d378d61 commit 1d14e88e5332cfddbec1893f6b5332f81d378d61 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-04-08 17:37:25 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-04-10 12:53:49 +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 --- 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 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 */