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:
parent
634e2e29d6
commit
a084c24469
1 changed files with 5 additions and 4 deletions
|
@ -8,6 +8,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
#include "eloop.h"
|
||||||
|
#include "driver.h"
|
||||||
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
@ -23,10 +28,6 @@
|
||||||
#include <sys/sockio.h>
|
#include <sys/sockio.h>
|
||||||
#endif /* __sun__ */
|
#endif /* __sun__ */
|
||||||
|
|
||||||
#include "common.h"
|
|
||||||
#include "eloop.h"
|
|
||||||
#include "driver.h"
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue