git: b2c558c898b8 - main - cxgbe: include headers required to include t4_tom.h

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Wed, 19 Oct 2022 22:18:40 UTC
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=b2c558c898b83d1b052d49908842032b73f0de73

commit b2c558c898b83d1b052d49908842032b73f0de73
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-10-19 22:15:53 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2022-10-19 22:15:53 +0000

    cxgbe: include headers required to include t4_tom.h
    
    Before the change we would get struct tcpcb forward declaration
    only with help of pollution via in_pcb.h.
---
 sys/dev/cxgbe/tom/t4_tom_l2t.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/cxgbe/tom/t4_tom_l2t.c b/sys/dev/cxgbe/tom/t4_tom_l2t.c
index 1d094c30d25e..97a1e08bda58 100644
--- a/sys/dev/cxgbe/tom/t4_tom_l2t.c
+++ b/sys/dev/cxgbe/tom/t4_tom_l2t.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/mutex.h>
 #include <sys/rwlock.h>
 #include <sys/socket.h>
+#include <sys/socketvar.h>
 #include <sys/sbuf.h>
 #include <sys/taskqueue.h>
 #include <net/if.h>
@@ -50,6 +51,7 @@ __FBSDID("$FreeBSD$");
 #include <net/if_vlan_var.h>
 #include <net/route.h>
 #include <netinet/in.h>
+#include <netinet/tcp_var.h>
 #include <netinet/toecore.h>
 
 #include "common/common.h"