Skip to content

Commit fc34ecd

Browse files
rddunlapdavem330
authored andcommitted
pch_gbe: add header files
Fix build errors, more header files needed. drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr' drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr' drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4d443a0 commit fc34ecd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/net/pch_gbe/pch_gbe.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
#include <linux/ethtool.h>
3232
#include <linux/vmalloc.h>
3333
#include <net/ip.h>
34+
#include <net/tcp.h>
35+
#include <net/udp.h>
3436

3537
/**
3638
* pch_gbe_regs_mac_adr - Structure holding values of mac address registers

0 commit comments

Comments
 (0)