summaryrefslogtreecommitdiffstats
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
parent786b4557075ae0d8a23e73c316dc4204b41ccb4d (diff)
downloadblackbird-op-linux-2218228392080f0ca2fc2974604e79f57b12c436.tar.gz
blackbird-op-linux-2218228392080f0ca2fc2974604e79f57b12c436.zip
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>
-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 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 <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