From: Kirill A. Shutemov Date: Tue, 22 Apr 2008 13:38:55 +0000 (+0300) Subject: Make linux/wireless.h be able to compile X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2218228392080f0ca2fc2974604e79f57b12c436;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Make linux/wireless.h be able to compile Signed-off-by: Kirill A. Shutemov Signed-off-by: John W. Linville --- diff --git a/include/linux/wireless.h b/include/linux/wireless.h index 2864b1699ecc..0a9b5b41ed67 100644 --- a/include/linux/wireless.h +++ b/include/linux/wireless.h @@ -69,14 +69,9 @@ /***************************** INCLUDES *****************************/ -/* This header is used in user-space, therefore need to be sanitised - * for that purpose. Those includes are usually not compatible with glibc. - * To know which includes to use in user-space, check iwlib.h. */ -#ifdef __KERNEL__ -#include /* for "caddr_t" et al */ +#include /* for __u* and __s* typedefs */ #include /* for "struct sockaddr" et al */ #include /* for IFNAMSIZ and co... */ -#endif /* __KERNEL__ */ /***************************** VERSION *****************************/ /*