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:
Jouni Malinen 2015-04-26 13:16:16 +03:00
parent a6da824b19
commit 209214b479

View file

@ -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"