On 24/11/09 20:25, Chris Vine wrote: > For the record, and in case someone else needs it, I had to apply this > one: one glue file didn't include sched.h as it should have done > (presumably one of the other included headers happened to include it in > kernel>= 2.6.31 but not after). I don't know why it isn't necessary in > your cases. > > Chris > > > --- src/wl/sys/wl_linux.c.orig 2009-11-21 10:07:59.000000000 +0000 > +++ src/wl/sys/wl_linux.c 2009-11-21 10:08:32.000000000 +0000 > @@ -38,6 +38,7 @@ > #include<linux/ethtool.h> > #include<linux/completion.h> > #include<linux/pci_ids.h> > +#include<linux/sched.h> > #define WLC_MAXBSSCFG 1 > > #if LINUX_VERSION_CODE>= KERNEL_VERSION(2, 6, 29) > The Broadcom driver compiles fine for me if I run this sed before I run make:-
sed -i '/types.h/a#include <linux/sched.h>' src/wl/sys/wl_linux.c It achieves the same result as your patch. Andy _______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
