Conver hostapd specific files to include common.h

Instead of getting this via hostapd.h, include it as the first
non-system header file in all source code files in the same way as
used in all other files.
This commit is contained in:
Jouni Malinen 2009-11-29 18:46:42 +02:00
parent ea038e0da4
commit 4dbfe5c58a
22 changed files with 22 additions and 4 deletions

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "radius/radius.h" #include "radius/radius.h"
#include "radius/radius_client.h" #include "radius/radius_client.h"

View file

@ -17,6 +17,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "config.h" #include "config.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -19,6 +19,7 @@
#ifndef CONFIG_NATIVE_WINDOWS #ifndef CONFIG_NATIVE_WINDOWS
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "wpa.h" #include "wpa.h"

View file

@ -18,6 +18,7 @@
#include <grp.h> #include <grp.h>
#endif /* CONFIG_NATIVE_WINDOWS */ #endif /* CONFIG_NATIVE_WINDOWS */
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "sha1.h" #include "sha1.h"

View file

@ -20,6 +20,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <stddef.h> #include <stddef.h>
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "eloop.h" #include "eloop.h"
#include "config.h" #include "config.h"

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_1x.h" #include "ieee802_1x.h"
#include "wpa.h" #include "wpa.h"

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "driver_i.h" #include "driver_i.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "eloop.h" #include "eloop.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_1x.h" #include "ieee802_1x.h"

View file

@ -17,8 +17,6 @@
#ifndef HOSTAPD_H #ifndef HOSTAPD_H
#define HOSTAPD_H #define HOSTAPD_H
#include "common.h"
#define MAX_VLAN_ID 4094 #define MAX_VLAN_ID 4094
struct wpa_driver_ops; struct wpa_driver_ops;

View file

@ -16,6 +16,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "common/ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h" #include "common/ieee802_11_common.h"

View file

@ -46,6 +46,7 @@
#include <netpacket/packet.h> #include <netpacket/packet.h>
#endif /* USE_KERNEL_HEADERS */ #endif /* USE_KERNEL_HEADERS */
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "config.h" #include "config.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -19,6 +19,7 @@
#include <net/if.h> #include <net/if.h>
#include "common.h"
#include "eloop.h" #include "eloop.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -21,6 +21,7 @@
#ifndef CONFIG_NATIVE_WINDOWS #ifndef CONFIG_NATIVE_WINDOWS
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "config.h" #include "config.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_1x.h" #include "ieee802_1x.h"
#include "accounting.h" #include "accounting.h"

View file

@ -17,8 +17,9 @@
#include <syslog.h> #include <syslog.h>
#endif /* CONFIG_NATIVE_WINDOWS */ #endif /* CONFIG_NATIVE_WINDOWS */
#include "eloop.h" #include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "eloop.h"
#include "common/version.h" #include "common/version.h"
#include "config.h" #include "config.h"
#include "tls.h" #include "tls.h"

View file

@ -16,7 +16,7 @@
#include "includes.h" #include "includes.h"
#include "hostapd.h" #include "common.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "wpa.h" #include "wpa.h"
#include "sta_flags.h" #include "sta_flags.h"

View file

@ -16,6 +16,7 @@
#ifdef CONFIG_RSN_PREAUTH #ifdef CONFIG_RSN_PREAUTH
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "config.h" #include "config.h"
#include "l2_packet/l2_packet.h" #include "l2_packet/l2_packet.h"

View file

@ -15,6 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "sta_flags.h" #include "sta_flags.h"
#include "sta_info.h" #include "sta_info.h"

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "eloop.h" #include "eloop.h"
#include "driver_i.h" #include "driver_i.h"

View file

@ -15,6 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "driver_i.h" #include "driver_i.h"
#include "vlan_init.h" #include "vlan_init.h"

View file

@ -15,6 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "wme.h" #include "wme.h"

View file

@ -14,6 +14,7 @@
#include "includes.h" #include "includes.h"
#include "common.h"
#include "hostapd.h" #include "hostapd.h"
#include "driver_i.h" #include "driver_i.h"
#include "eloop.h" #include "eloop.h"