]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
mv643xx_eth: include linux/ip.h to fix build
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 2 Oct 2008 00:52:39 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 00:01:31 +0000 (17:01 -0700)
mv643xx_eth uses ip_hdr() (defined in linux/ip.h), but relied on
another header file to include the needed header file indirectly.
In latest net-next this indirect include chain is gone, so the
driver fails to build.  Include linux/ip.h explicitly to fix this.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c

index d25a30251139bd1f33fbe02b013b23888f266d1c..a9c8c08044b1847ebe560964433ad3ee4a564322 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/init.h>
 #include <linux/dma-mapping.h>
 #include <linux/in.h>
+#include <linux/ip.h>
 #include <linux/tcp.h>
 #include <linux/udp.h>
 #include <linux/etherdevice.h>