Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens. Fixes #3501

SVN-Revision: 11407
This commit is contained in:
Peter Denison 2008-06-08 20:19:19 +00:00
parent a59821735c
commit ea8b4cb0d7

View file

@ -31,7 +31,7 @@ diff -urN hostapd.orig/driver_nl80211.c hostapd/driver_nl80211.c
+#include <net/if.h> +#include <net/if.h>
+#include <linux/if_packet.h> +#include <linux/if_packet.h>
+#include <linux/if_ether.h> /* The L2 protocols */ +#include <linux/if_ether.h> /* The L2 protocols */
+#include <linux/wireless.h> +#include "wireless_copy.h"
+#include <net/if_arp.h> +#include <net/if_arp.h>
+ +
+#include "hostapd.h" +#include "hostapd.h"