[PATCH] Update wireless_copy.h to Version 22

Johannes Berg johannes
Fri Feb 25 06:26:28 PST 2011


On Fri, 2011-02-25 at 09:33 +0100, Johannes Berg wrote:
> On Thu, 2011-02-24 at 14:46 -0800, Dmitry Shmidt wrote:
> 
> > - /* jkm - replaced linux headers with C library headers, added typedefs */
> > -#if 0
> > -/* To minimise problems in user space, I might remove those headers
> > - * at some point. Jean II */
> > +#ifdef ANDROID
> >  #include <linux/types.h>		/* for "caddr_t" et al		*/
> >  #include <linux/socket.h>		/* for "struct sockaddr" et al	*/
> >  #include <linux/if.h>			/* for IFNAMSIZ and co... */
> 
> Are you sure it'll build on non-android though? It seems that it
> previously was necessary to not include the headers at all.

Oh, I misread this, ignore, sorry.

johannes




More information about the Hostap mailing list