diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2025-09-05 06:00:52 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2025-09-05 06:06:44 +0000 |
| commit | 4cb50d74c19c014e8099272777eb20aaf834d61c (patch) | |
| tree | 65f7640c081bab0ea81ff30b530d5247e28b16e9 | |
| parent | edd8c4c655925543e2d881811c544473da463147 (diff) | |
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")
MFC after: immediately
Sponsored by: Netflix, Inc.
| -rw-r--r-- | sys/netinet/tcp_log_buf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c index e24790ece43d..473c534ef83d 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> |
