From: Jouni Malinen Date: Sun, 26 Apr 2015 10:16:16 +0000 (+0300) Subject: vlan: Move CONFIG_FULL_DYNAMIC_VLAN includes to proper places X-Git-Tag: hostap_2_5~797 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=209214b4792bee4ea5cc2b7ebd4cac38365ed1e4;p=thirdparty%2Fhostap.git 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 --- 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"