summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-09-28 21:34:27 +0400
committerDavid S. Miller <davem@davemloft.net>2010-09-28 21:34:27 +0400
commitfc34ecd07f15358e2b29620fafeb8a6a9528ce79 (patch)
tree5b3c25809b5d3b1647f946f358f6d3930cc90669
parent4d443a085de2b6bcae5e0a773c63b8731ff27101 (diff)
downloadlinux-fc34ecd07f15358e2b29620fafeb8a6a9528ce79.tar.xz
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>
-rw-r--r--drivers/net/pch_gbe/pch_gbe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/pch_gbe/pch_gbe.h b/drivers/net/pch_gbe/pch_gbe.h
index b925ab359fc3..9a940a940a4a 100644
--- a/drivers/net/pch_gbe/pch_gbe.h
+++ b/drivers/net/pch_gbe/pch_gbe.h
@@ -31,6 +31,8 @@
#include <linux/ethtool.h>
#include <linux/vmalloc.h>
#include <net/ip.h>
+#include <net/tcp.h>
+#include <net/udp.h>
/**
* pch_gbe_regs_mac_adr - Structure holding values of mac address registers