* [PATCH] fix spider compilation
@ 2006-01-16 12:11 Olaf Hering
2006-01-16 12:45 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2006-01-16 12:11 UTC (permalink / raw)
To: Arnd Bergmann, linuxppc-dev
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix spider compilation
2006-01-16 12:11 [PATCH] fix spider compilation Olaf Hering
@ 2006-01-16 12:45 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2006-01-16 12:45 UTC (permalink / raw)
To: Olaf Hering; +Cc: linuxppc-dev, jgarzik, Jens Osterkamp
Olaf Hering <olh@suse.de> wrote on 01/16/2006 01:11:57 PM:
>
> 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@suse.de>
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 <><
> 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-16 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 12:11 [PATCH] fix spider compilation Olaf Hering
2006-01-16 12:45 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox