mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-07 04:34:04 -05:00
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
@ -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 New Issue
Block a user