git: d862ce89be67 - stable/14 - tcp: improve compilability
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Sep 2025 06:08:47 UTC
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=d862ce89be67c21f25aede1a32c2d70a409ab4df commit d862ce89be67c21f25aede1a32c2d70a409ab4df Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2025-09-05 06:00:52 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2025-09-05 06:08:33 +0000 tcp: improve compilability When building with DDB support, the inclusion of in_kdtrace.h is needed. Make this explicit and don't rely on tcp_var.h to do this. This is required for stable/14. Fixes: a62c6b0de48a ("ddb: add optional printing of BBLog entries") Sponsored by: Netflix, Inc. (cherry picked from commit 4cb50d74c19c014e8099272777eb20aaf834d61c) --- sys/netinet/tcp_log_buf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c index 3c62d3b07f99..5219f0be3f7e 100644 --- a/sys/netinet/tcp_log_buf.c +++ b/sys/netinet/tcp_log_buf.c @@ -61,6 +61,9 @@ #include <net/vnet.h> #include <netinet/in.h> +#ifdef DDB +#include <netinet/in_kdtrace.h> +#endif #include <netinet/in_pcb.h> #include <netinet/in_var.h> #include <netinet/tcp_var.h>