[PATCH] Update wireless_copy.h to Version 22

Johannes Berg johannes
Fri Feb 25 00:33:06 PST 2011


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.

johannes




More information about the Hostap mailing list