34 lines
889 B
Diff
34 lines
889 B
Diff
diff --git a/include/linux/wireless.h b/include/linux/wireless.h
|
|
index c7f4a6c..f7ef486 100644
|
|
--- a/include/linux/wireless.h
|
|
+++ b/include/linux/wireless.h
|
|
@@ -18,10 +18,11 @@
|
|
|
|
/***************************** INCLUDES *****************************/
|
|
|
|
-#if 0
|
|
+#if 1
|
|
#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... */
|
|
+ #include <uapi/linux/wireless.h>
|
|
#else
|
|
#define __user
|
|
/* typedef uint16_t __u16; */
|
|
@@ -37,6 +38,8 @@ struct compat_iw_point {
|
|
__u16 flags;
|
|
};
|
|
#endif
|
|
+
|
|
+#if 0
|
|
/* --------------------------- SUBTYPES --------------------------- */
|
|
/*
|
|
* For all data larger than 16 octets, we need to use a
|
|
@@ -83,5 +86,6 @@ struct iwreq {
|
|
/* Data part (defined just above) */
|
|
union iwreq_data u;
|
|
};
|
|
+#endif
|
|
|
|
#endif /* _LINUX_WIRELESS_H */
|