diff --git a/hostapd/accounting.c b/hostapd/accounting.c index 7fdcf1c06..991fb5326 100644 --- a/hostapd/accounting.c +++ b/hostapd/accounting.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "radius/radius.h" #include "radius/radius_client.h" diff --git a/hostapd/ap_list.c b/hostapd/ap_list.c index a4eeb3734..7cb7b3742 100644 --- a/hostapd/ap_list.c +++ b/hostapd/ap_list.c @@ -17,6 +17,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "config.h" #include "ieee802_11.h" diff --git a/hostapd/beacon.c b/hostapd/beacon.c index 425b51417..87da48336 100644 --- a/hostapd/beacon.c +++ b/hostapd/beacon.c @@ -19,6 +19,7 @@ #ifndef CONFIG_NATIVE_WINDOWS +#include "common.h" #include "hostapd.h" #include "ieee802_11.h" #include "wpa.h" diff --git a/hostapd/config.c b/hostapd/config.c index e0571aa94..f92bbdebd 100644 --- a/hostapd/config.c +++ b/hostapd/config.c @@ -18,6 +18,7 @@ #include #endif /* CONFIG_NATIVE_WINDOWS */ +#include "common.h" #include "hostapd.h" #include "drivers/driver.h" #include "sha1.h" diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c index e8bb87232..e3c88a79e 100644 --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c @@ -20,6 +20,7 @@ #include #include +#include "common.h" #include "hostapd.h" #include "eloop.h" #include "config.h" diff --git a/hostapd/ctrl_iface_ap.c b/hostapd/ctrl_iface_ap.c index b98eb9772..2465f7028 100644 --- a/hostapd/ctrl_iface_ap.c +++ b/hostapd/ctrl_iface_ap.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "ieee802_1x.h" #include "wpa.h" diff --git a/hostapd/drv_callbacks.c b/hostapd/drv_callbacks.c index a7b7571df..031c290f2 100644 --- a/hostapd/drv_callbacks.c +++ b/hostapd/drv_callbacks.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "driver_i.h" #include "ieee802_11.h" diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c index e3747b075..ed7c05483 100644 --- a/hostapd/hostapd.c +++ b/hostapd/hostapd.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "eloop.h" #include "hostapd.h" #include "ieee802_1x.h" diff --git a/hostapd/hostapd.h b/hostapd/hostapd.h index c2aa8df47..8835e7ae4 100644 --- a/hostapd/hostapd.h +++ b/hostapd/hostapd.h @@ -17,8 +17,6 @@ #ifndef HOSTAPD_H #define HOSTAPD_H -#include "common.h" - #define MAX_VLAN_ID 4094 struct wpa_driver_ops; diff --git a/hostapd/hw_features.c b/hostapd/hw_features.c index e6caf506f..fd1514e1d 100644 --- a/hostapd/hw_features.c +++ b/hostapd/hw_features.c @@ -16,6 +16,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" diff --git a/hostapd/iapp.c b/hostapd/iapp.c index 9a0b2e7c6..1451aa4d7 100644 --- a/hostapd/iapp.c +++ b/hostapd/iapp.c @@ -46,6 +46,7 @@ #include #endif /* USE_KERNEL_HEADERS */ +#include "common.h" #include "hostapd.h" #include "config.h" #include "ieee802_11.h" diff --git a/hostapd/ieee802_11.c b/hostapd/ieee802_11.c index e7a4cded6..87775c37c 100644 --- a/hostapd/ieee802_11.c +++ b/hostapd/ieee802_11.c @@ -19,6 +19,7 @@ #include +#include "common.h" #include "eloop.h" #include "hostapd.h" #include "ieee802_11.h" diff --git a/hostapd/ieee802_11_auth.c b/hostapd/ieee802_11_auth.c index b20404991..0aa86b08a 100644 --- a/hostapd/ieee802_11_auth.c +++ b/hostapd/ieee802_11_auth.c @@ -21,6 +21,7 @@ #ifndef CONFIG_NATIVE_WINDOWS +#include "common.h" #include "hostapd.h" #include "config.h" #include "ieee802_11.h" diff --git a/hostapd/ieee802_1x.c b/hostapd/ieee802_1x.c index 68acd37af..985e9bff4 100644 --- a/hostapd/ieee802_1x.c +++ b/hostapd/ieee802_1x.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "ieee802_1x.h" #include "accounting.h" diff --git a/hostapd/main.c b/hostapd/main.c index e7fddf444..4f403563d 100644 --- a/hostapd/main.c +++ b/hostapd/main.c @@ -17,8 +17,9 @@ #include #endif /* CONFIG_NATIVE_WINDOWS */ -#include "eloop.h" +#include "common.h" #include "hostapd.h" +#include "eloop.h" #include "common/version.h" #include "config.h" #include "tls.h" diff --git a/hostapd/mlme.c b/hostapd/mlme.c index d394c053e..127df37ac 100644 --- a/hostapd/mlme.c +++ b/hostapd/mlme.c @@ -16,7 +16,7 @@ #include "includes.h" -#include "hostapd.h" +#include "common.h" #include "ieee802_11.h" #include "wpa.h" #include "sta_flags.h" diff --git a/hostapd/preauth.c b/hostapd/preauth.c index 2b1558ceb..3914d5ad4 100644 --- a/hostapd/preauth.c +++ b/hostapd/preauth.c @@ -16,6 +16,7 @@ #ifdef CONFIG_RSN_PREAUTH +#include "common.h" #include "hostapd.h" #include "config.h" #include "l2_packet/l2_packet.h" diff --git a/hostapd/sta_info.c b/hostapd/sta_info.c index 606e85dd1..ee8187715 100644 --- a/hostapd/sta_info.c +++ b/hostapd/sta_info.c @@ -15,6 +15,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "sta_flags.h" #include "sta_info.h" diff --git a/hostapd/tkip_countermeasures.c b/hostapd/tkip_countermeasures.c index 3671a2930..53747a466 100644 --- a/hostapd/tkip_countermeasures.c +++ b/hostapd/tkip_countermeasures.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "eloop.h" #include "driver_i.h" diff --git a/hostapd/vlan_init.c b/hostapd/vlan_init.c index 05aa7dd24..6de54ea2a 100644 --- a/hostapd/vlan_init.c +++ b/hostapd/vlan_init.c @@ -15,6 +15,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "driver_i.h" #include "vlan_init.h" diff --git a/hostapd/wme.c b/hostapd/wme.c index 69b05d7d7..87e2d406d 100644 --- a/hostapd/wme.c +++ b/hostapd/wme.c @@ -15,6 +15,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "ieee802_11.h" #include "wme.h" diff --git a/hostapd/wps_hostapd.c b/hostapd/wps_hostapd.c index 793457dc8..e8704fbfc 100644 --- a/hostapd/wps_hostapd.c +++ b/hostapd/wps_hostapd.c @@ -14,6 +14,7 @@ #include "includes.h" +#include "common.h" #include "hostapd.h" #include "driver_i.h" #include "eloop.h"