Browse Source

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.
Jouni Malinen 17 years ago
parent
commit
8479707beb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hostapd/driver_nl80211.c

+ 1 - 1
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"