wired: Fix compile on NetBSD for wired driver

Shuffle wpa_supplicant includes above system ones so that
to fix a compile problem on NetBSD where if_type #define
conflicts with the wpa_driver_if_type enum.

Signed-off-by: Roy Marples <roy@marples.name>
This commit is contained in:
Roy Marples 2016-02-10 11:22:11 +00:00 committed by Jouni Malinen
parent 634e2e29d6
commit a084c24469

View file

@ -8,6 +8,11 @@
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "driver.h"
#include <sys/ioctl.h>
#include <net/if.h>
#ifdef __linux__
@ -23,10 +28,6 @@
#include <sys/sockio.h>
#endif /* __sun__ */
#include "common.h"
#include "eloop.h"
#include "driver.h"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif /* _MSC_VER */