Skip to content

Commit

Permalink
Make linux/wireless.h be able to compile
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Kirill A. Shutemov authored and John W. Linville committed May 1, 2008
1 parent 786b455 commit 2218228
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/linux/wireless.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *****************************/
/*
Expand Down

0 comments on commit 2218228

Please sign in to comment.