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:
Jouni Malinen 2008-06-03 11:31:42 +03:00
parent 2e5a7b49a0
commit 8479707beb

View File

@ -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"