From de081fa517fed81b0369f2e90ca87c30182879c8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 12 Jul 2007 16:40:08 -0700 Subject: Revert "[BNX2]: Seems to not need net/tcp.h" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 963bd949b12158d9b5380b718b31c4b33372ed73. The driver _does_ need the networking header files; CC [M] drivers/net/bnx2.o drivers/net/bnx2.c: In function 'bnx2_start_xmit': drivers/net/bnx2.c:5177: warning: implicit declaration of function 'tcp_optlen' drivers/net/bnx2.c:5181: error: invalid application of 'sizeof' to incomplete type 'struct ipv6hdr' drivers/net/bnx2.c:5202: error: invalid application of 'sizeof' to incomplete type 'struct tcphdr' drivers/net/bnx2.c:5207: warning: implicit declaration of function 'tcp_hdr' drivers/net/bnx2.c:5207: error: invalid type argument of '->' make[2]: *** [drivers/net/bnx2.o] Error 1 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 Cc: Ilpo Jävinen Cc: David Miller Signed-off-by: Linus Torvalds --- drivers/net/bnx2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 02e994b1b02..4e5e1cb2adc 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -40,6 +40,7 @@ #define BCM_VLAN 1 #endif #include +#include #include #include #include -- cgit v1.2.3