Fix hostapd compilation which was broken only for 2.6.25 (#3733). Thanks to Hauke Mehrtens.

SVN-Revision: 11763
This commit is contained in:
Florian Fainelli 2008-07-10 14:23:06 +00:00
parent 1c70591c3d
commit 6ce90189ad

View File

@ -0,0 +1,13 @@
diff -Naur hostapd/driver_nl80211.c hostapd.new/driver_nl80211.c
--- hostapd/hostapd/driver_nl80211.c 2008-02-23 03:45:24.000000000 +0100
+++ hostapd.new/hostapd/driver_nl80211.c 2008-06-28 12:46:56.000000000 +0200
@@ -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"