From 209214b4792bee4ea5cc2b7ebd4cac38365ed1e4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 26 Apr 2015 13:16:16 +0300 Subject: [PATCH] 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 --- src/ap/vlan_init.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/ap/vlan_init.c b/src/ap/vlan_init.c index baabbe33b..b89a1f431 100644 --- a/src/ap/vlan_init.c +++ b/src/ap/vlan_init.c @@ -9,6 +9,13 @@ */ #include "utils/includes.h" +#ifdef CONFIG_FULL_DYNAMIC_VLAN +#include +#include +#include +#include +#include +#endif /* CONFIG_FULL_DYNAMIC_VLAN */ #include "utils/common.h" #include "hostapd.h" @@ -20,12 +27,6 @@ #ifdef CONFIG_FULL_DYNAMIC_VLAN -#include -#include -#include -#include -#include - #include "drivers/priv_netlink.h" #include "utils/eloop.h"