hostapd.h does not need to include config.h.
@@ -18,6 +18,7 @@
#include "includes.h"
#include "hostapd.h"
+#include "config.h"
#include "ieee802_11.h"
#include "eloop.h"
#include "sta_info.h"
@@ -28,6 +28,7 @@
#include "uuid.h"
#include "eap_common/eap_wsc_common.h"
#define MAX_STA_COUNT 2007
@@ -59,6 +59,7 @@
#include "wireless_copy.h"
#include "driver.h"
#include "priv_netlink.h"
@@ -31,6 +31,7 @@
#undef WPA_OUI_TYPE
#include "l2_packet/l2_packet.h"
@@ -33,6 +33,7 @@
#endif /* USE_KERNEL_HEADERS */
@@ -17,6 +17,7 @@
#define DRIVER_I_H
static inline void *
hostapd_driver_init(struct hostapd_data *hapd)
@@ -56,6 +56,7 @@
#include <net/if_arp.h>
#include "hw_features.h"
@@ -36,6 +36,7 @@
#include "ieee802_1x.h"
#include <dirent.h>
#include "sha1.h"
@@ -29,6 +29,7 @@
@@ -19,7 +19,6 @@
#include "common.h"
#include "hostapd_defs.h"
-#include "config.h"
struct wpa_driver_ops;
struct wpa_ctrl_dst;
@@ -47,6 +47,7 @@
#include "iapp.h"
@@ -22,6 +22,7 @@
#ifndef CONFIG_NATIVE_WINDOWS
#include "ieee802_11_auth.h"
#include "radius/radius.h"
#ifdef CONFIG_RSN_PREAUTH