[PATCH] fix spider compilation

Olaf Hering olh at suse.de
Mon Jan 16 23:11:57 EST 2006


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)

Signed-off-by: Olaf Hering <olh at suse.de>

 drivers/net/spider_net.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6.15/drivers/net/spider_net.c
===================================================================
--- linux-2.6.15.orig/drivers/net/spider_net.c
+++ linux-2.6.15/drivers/net/spider_net.c
@@ -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>
-- 
short story of a lazy sysadmin:
 alias appserv=wotan



More information about the Linuxppc-dev mailing list