]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wired: Fix compile on NetBSD for wired driver
authorRoy Marples <roy@marples.name>
Wed, 10 Feb 2016 11:22:11 +0000 (11:22 +0000)
committerJouni Malinen <j@w1.fi>
Thu, 18 Feb 2016 15:03:57 +0000 (17:03 +0200)
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>
src/drivers/driver_wired.c

index f95f3ccf5b66a69e2f4bd2946a1ffe5b3059f4d1..15e82df6cf469a85228e56ff8bcb05df3aa69923 100644 (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__
 #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 */