From: Lennert Buytenhek Date: Thu, 2 Oct 2008 00:52:39 +0000 (+0000) Subject: mv643xx_eth: include linux/ip.h to fix build X-Git-Tag: v2.6.28-rc1~717^2~60 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c3efab8ed4755e26962704731322bafdf5022f98;p=linux-2.6-omap-h63xx.git mv643xx_eth: include linux/ip.h to fix build 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index d25a3025113..a9c8c08044b 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include