diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-01-16 19:03:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-16 19:05:28 (GMT) |
commit | 009777846165fcc49352c0f1487e3a96102884c3 (patch) | |
tree | dcc37726294c0e42fb0202c78752fb8cb07b8d11 /drivers/net/netxen | |
parent | 3bfafd6b136bea2de9bd96c01b7e3808635a15b2 (diff) | |
download | linux-fsl-qoriq-009777846165fcc49352c0f1487e3a96102884c3.tar.xz |
netxen: include ipv6.h (fixes build failure)
Fixes a build error in absence of CONFIG_IPV6:
drivers/net/netxen/netxen_nic_main.c:1189: error: implicit declaration of function 'ipv6_hdr'
drivers/net/netxen/netxen_nic_main.c:1189: error: invalid type argument of '->'
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index f8e2629..d854f07 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -41,6 +41,7 @@ #include <linux/dma-mapping.h> #include <linux/if_vlan.h> #include <net/ip.h> +#include <linux/ipv6.h> MODULE_DESCRIPTION("NetXen Multi port (1/10) Gigabit Network Driver"); MODULE_LICENSE("GPL"); |