Fix wireless.h to use linux kernel header files including uapi version of wireless.h --- a/include/linux/wireless.h +++ b/include/linux/wireless.h @@ -18,16 +18,17 @@ /***************************** INCLUDES *****************************/ -#if 0 +#if 1 #include /* for __u* and __s* typedefs */ #include /* for "struct sockaddr" et al */ #include /* for IFNAMSIZ and co... */ + #include + #include #else #define __user /* typedef uint16_t __u16; */ #include /* for "struct sockaddr" et al */ #include /* for IFNAMSIZ and co... */ -#endif /****************************** TYPES ******************************/ #ifdef CONFIG_COMPAT @@ -84,4 +85,5 @@ struct iwreq { union iwreq_data u; }; +#endif #endif /* _LINUX_WIRELESS_H */