vlan: Move CONFIG_FULL_DYNAMIC_VLAN includes to proper places
All the system header files are supposed to be included before any other internal header file apart from utils/includes.h. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a6da824b19
commit
209214b479
1 changed files with 7 additions and 6 deletions
|
@ -9,6 +9,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "utils/includes.h"
|
#include "utils/includes.h"
|
||||||
|
#ifdef CONFIG_FULL_DYNAMIC_VLAN
|
||||||
|
#include <net/if.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <linux/sockios.h>
|
||||||
|
#include <linux/if_vlan.h>
|
||||||
|
#include <linux/if_bridge.h>
|
||||||
|
#endif /* CONFIG_FULL_DYNAMIC_VLAN */
|
||||||
|
|
||||||
#include "utils/common.h"
|
#include "utils/common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
|
@ -20,12 +27,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_FULL_DYNAMIC_VLAN
|
#ifdef CONFIG_FULL_DYNAMIC_VLAN
|
||||||
|
|
||||||
#include <net/if.h>
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
#include <linux/sockios.h>
|
|
||||||
#include <linux/if_vlan.h>
|
|
||||||
#include <linux/if_bridge.h>
|
|
||||||
|
|
||||||
#include "drivers/priv_netlink.h"
|
#include "drivers/priv_netlink.h"
|
||||||
#include "utils/eloop.h"
|
#include "utils/eloop.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue