aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-06-03 11:31:42 +0300
committerJouni Malinen <j@w1.fi>2008-06-03 11:31:42 +0300
commit8479707beb67c225bbbe89f099cb66699e900622 (patch)
treee32c91b05f371b9e2adcdf1b40aa190d081e2b0a /hostapd
parent2e5a7b49a0a52ce36033e4839aae90e638746b6a (diff)
downloadexternal_wpa_supplicant_8_ti-8479707beb67c225bbbe89f099cb66699e900622.zip
external_wpa_supplicant_8_ti-8479707beb67c225bbbe89f099cb66699e900622.tar.gz
external_wpa_supplicant_8_ti-8479707beb67c225bbbe89f099cb66699e900622.tar.bz2
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.
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/driver_nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c
index 6ae5d79..a1a5094 100644
--- a/hostapd/driver_nl80211.c
+++ b/hostapd/driver_nl80211.c
@@ -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"