fix spider compilation
PATCH 1/1 fix spider compilation
linux-2.6.15/drivers/net/spider_net.c: In function `spider_net_set_txdescr_cmdstat':linux-2.6.15/drivers/net/spider_net.c:890: error: `IPPROTO_TCP' undeclared (first use in this function) linux-2.6.15/drivers/net/spider_net.c:890: error: (Each undeclared identifier is reported only once linux-2.6.15/drivers/net/spider_net.c:890: error: for each function it appears in.) linux-2.6.15/drivers/net/spider_net.c:892: error: `IPPROTO_UDP' undeclared (first use in this function)
drivers/net/spider_net.c | 1 + 1 files changed, 1 insertion(+)
drivers/net/spider_net.c +1 -0
@@ -33,6 +33,7 @@#include <linux/init.h> #include <linux/ioport.h> #include <linux/ip.h> +#include <linux/in.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h>
Signature · 2 lines
short story of a lazy sysadmin: alias appserv=wotan
Olaf Hering <[email protected]> wrote on 01/16/2006 01:11:57 PM:
Quoted 12 lines
linux-2.6.15/drivers/net/spider_net.c: In function `spider_net_set_txdescr_cmdstat':linux-2.6.15/drivers/net/spider_net.c:890: error: `IPPROTO_TCP' undeclared (first use in this function)linux-2.6.15/drivers/net/spider_net.c:890: error: (Each undeclared identifier is reported only oncelinux-2.6.15/drivers/net/spider_net.c:890: error: for each function it appears in.)linux-2.6.15/drivers/net/spider_net.c:892: error: `IPPROTO_UDP' undeclared (first use in this function)
Quoted 1 line
Signed-off-by Olaf Hering <[email protected]>
Thanks. I already submitted the same patch to Jeff Garzik, but had a problem with a quilt bug that caused another patch in the series to fail.
Jeff, did you get the '[RESEND 2]' patches for spidernet? Sorry for messing this up twice before, but I'm pretty sure that I fixed up the diff now and the contents are somewhat important, at least the compile fix.
Arnd <><
Quoted 15 lines
drivers/net/spider_net.c | 1 + 1 files changed, 1 insertion(+)Index:
linux-2.6.15/drivers/net/spider_net.c
===================================================================drivers/net/spider_net.c +1
-0@@ -33,6 +33,7 @@#include <linux/init.h> #include <linux/ioport.h> #include <linux/ip.h> +#include <linux/in.h> #include <linux/kernel.h> #include <linux/mii.h> #include <linux/module.h>