提交 22182283 编写于 作者: K Kirill A. Shutemov 提交者: John W. Linville

Make linux/wireless.h be able to compile

Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 786b4557
......@@ -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 *****************************/
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册