From: Jouni Malinen Date: Tue, 3 Jun 2008 08:31:42 +0000 (+0300) Subject: Include wireless_copy.h instead of linux/wireless.h to avoid conflicts X-Git-Tag: hostap_0_6_4~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8479707beb67c225bbbe89f099cb66699e900622;p=thirdparty%2Fhostap.git 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. --- diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c index 6ae5d79d1..a1a5094cd 100644 --- a/hostapd/driver_nl80211.c +++ b/hostapd/driver_nl80211.c @@ -27,7 +27,7 @@ #include #include #include /* The L2 protocols */ -#include +#include "wireless_copy.h" #include #include "hostapd.h"