]> Git Repo - linux.git/commitdiff
netxen: include ipv6.h (fixes build failure)
authorDhananjay Phadke <[email protected]>
Fri, 16 Jan 2009 19:03:25 +0000 (11:03 -0800)
committerDavid S. Miller <[email protected]>
Fri, 16 Jan 2009 19:05:28 +0000 (11:05 -0800)
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 <[email protected]>
Signed-off-by: Dhananjay Phadke <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/netxen/netxen_nic_main.c

index f8e26290a22f9772e1ce52636d351f56992411b5..d854f07ef4d307b1e9caac919aadcbe487123d72 100644 (file)
@@ -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");
This page took 0.061146 seconds and 4 git commands to generate.