]> err.no Git - linux-2.6/commitdiff
Make linux/wireless.h be able to compile
authorKirill A. Shutemov <kirill@shutemov.name>
Tue, 22 Apr 2008 13:38:55 +0000 (16:38 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 May 2008 21:38:35 +0000 (17:38 -0400)
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/wireless.h

index 2864b1699ecc669cdd971120f174382d985a18a6..0a9b5b41ed6766cd5cb95402ebb4cfbd68990f66 100644 (file)
 
 /***************************** 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 <linux/types.h>               /* for "caddr_t" et al          */
+#include <linux/types.h>               /* for __u* and __s* typedefs */
 #include <linux/socket.h>              /* for "struct sockaddr" et al  */
 #include <linux/if.h>                  /* for IFNAMSIZ and co... */
-#endif /* __KERNEL__ */
 
 /***************************** VERSION *****************************/
 /*