diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-10-01 20:52:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 20:01:31 -0400 |
commit | c3efab8ed4755e26962704731322bafdf5022f98 (patch) | |
tree | 177f45d1116cb4cc9e5da1133e92b701739a5b75 /drivers | |
parent | f47aeffd6089ed7a0cd18073e88cd505f188b0b7 (diff) |
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 d25a30251139..a9c8c08044b1 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/init.h> | 38 | #include <linux/init.h> |
39 | #include <linux/dma-mapping.h> | 39 | #include <linux/dma-mapping.h> |
40 | #include <linux/in.h> | 40 | #include <linux/in.h> |
41 | #include <linux/ip.h> | ||
41 | #include <linux/tcp.h> | 42 | #include <linux/tcp.h> |
42 | #include <linux/udp.h> | 43 | #include <linux/udp.h> |
43 | #include <linux/etherdevice.h> | 44 | #include <linux/etherdevice.h> |