diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-10-02 02:52:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 02:01:31 +0200 |
commit | c3efab8ed4755e26962704731322bafdf5022f98 (patch) | |
tree | 177f45d1116cb4cc9e5da1133e92b701739a5b75 | |
parent | lib8390: Fix locking in ei_poll (poll controller) (diff) | |
download | linux-c3efab8ed4755e26962704731322bafdf5022f98.tar.xz linux-c3efab8ed4755e26962704731322bafdf5022f98.zip |
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>
-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 d25a30251139..a9c8c08044b1 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> |