diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-10-02 00:52:39 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 00:01:31 (GMT) |
commit | c3efab8ed4755e26962704731322bafdf5022f98 (patch) | |
tree | 177f45d1116cb4cc9e5da1133e92b701739a5b75 /drivers | |
parent | f47aeffd6089ed7a0cd18073e88cd505f188b0b7 (diff) | |
download | linux-c3efab8ed4755e26962704731322bafdf5022f98.tar.xz |
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 <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index d25a302..a9c8c08 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -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> |