aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-02-10 11:22:11 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-18 15:03:57 (GMT)
commita084c24469f8da05746b19606d7d12d7b60539b6 (patch)
tree853921b669728f13c78350b819194ddd73f14432 /src/drivers
parent634e2e29d630f7f68d2343283db14ef12c8e0594 (diff)
downloadhostap-a084c24469f8da05746b19606d7d12d7b60539b6.zip
hostap-a084c24469f8da05746b19606d7d12d7b60539b6.tar.gz
hostap-a084c24469f8da05746b19606d7d12d7b60539b6.tar.bz2
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>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/driver_wired.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/driver_wired.c b/src/drivers/driver_wired.c
index f95f3cc..15e82df 100644
--- a/src/drivers/driver_wired.c
+++ b/src/drivers/driver_wired.c
@@ -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 */