[PATCH] fix spider compilation

Arnd Bergmann ARNDB at de.ibm.com
Mon Jan 16 23:45:19 EST 2006


Olaf Hering <olh at 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 at 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>





More information about the Linuxppc-dev mailing list