Include wireless_copy.h instead of linux/wireless.h to avoid conflicts
linux/wireless.h ends up including number of Linux kernel header files and many of the definitions are conflicting with (or at least duplicating) definitions in net/if.h.
This commit is contained in:
parent
2e5a7b49a0
commit
8479707beb
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
#include <net/if.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <linux/if_ether.h> /* The L2 protocols */
|
||||
#include <linux/wireless.h>
|
||||
#include "wireless_copy.h"
|
||||
#include <net/if_arp.h>
|
||||
|
||||
#include "hostapd.h"
|
||||
|
|
Loading…
Reference in a new issue