From: Roy Marples Date: Wed, 10 Feb 2016 11:53:41 +0000 (+0000) Subject: Fix compile on NetBSD for vlan X-Git-Tag: hostap_2_6~886 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5a3efccc2bf91444d048ebe6d95116fc3c3abdd;p=thirdparty%2Fhostap.git Fix compile on NetBSD for vlan Shuffle includes above system ones so to fix a compile issue on NetBSD where the if_type #define from conflicts with the wpa_driver_if_type enum. Signed-off-by: Roy Marples --- diff --git a/src/ap/vlan_init.c b/src/ap/vlan_init.c index 8709e3d4e..8eab6cb4c 100644 --- a/src/ap/vlan_init.c +++ b/src/ap/vlan_init.c @@ -9,13 +9,6 @@ */ #include "utils/includes.h" -#include -#include -#ifdef CONFIG_FULL_DYNAMIC_VLAN -#include -#include -#include -#endif /* CONFIG_FULL_DYNAMIC_VLAN */ #include "utils/common.h" #include "hostapd.h" @@ -25,6 +18,14 @@ #include "vlan_init.h" #include "vlan_util.h" +#include +#include +#ifdef CONFIG_FULL_DYNAMIC_VLAN +#include +#include +#include +#endif /* CONFIG_FULL_DYNAMIC_VLAN */ + #ifdef CONFIG_FULL_DYNAMIC_VLAN