summaryrefslogtreecommitdiffstats
path: root/include/linux/wireless.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2008-04-22 16:38:55 +0300
committerJohn W. Linville <linville@tuxdriver.com>2008-05-01 17:38:35 -0400
commit2218228392080f0ca2fc2974604e79f57b12c436 (patch)
treeb79e4ca5c7bacd52b54e76c502b3932695b41277 /include/linux/wireless.h
parent786b4557075ae0d8a23e73c316dc4204b41ccb4d (diff)
downloadop-kernel-dev-2218228392080f0ca2fc2974604e79f57b12c436.zip
op-kernel-dev-2218228392080f0ca2fc2974604e79f57b12c436.tar.gz
Make linux/wireless.h be able to compile
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/wireless.h')
-rw-r--r--include/linux/wireless.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/wireless.h b/include/linux/wireless.h
index 2864b16..0a9b5b4 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 <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 *****************************/
/*
OpenPOWER on IntegriCloud