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-Url: http://drtracing.org/?a=commitdiff_plain;h=c3efab8ed4755e26962704731322bafdf5022f98;p=deliverable%2Flinux.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 d25a30251139..a9c8c08044b1 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include