re-arrange include sequence to avoid a mingw introduced bug.
authorLunarShaddow <aflyhorse@hotmail.com>
Mon, 7 Mar 2016 07:43:04 +0000 (15:43 +0800)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 7 Mar 2016 20:54:13 +0000 (21:54 +0100)
refers: https://www.cygwin.com/ml/cygwin/2012-12/msg00194.html

# Conflicts:
# src/cygwin/device.c

src/cygwin/device.c

index 364427b..d3a4303 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 #include "../system.h"
+#include "../net.h"
 
 #include <w32api/windows.h>
 #include <w32api/winioctl.h>
@@ -27,7 +28,6 @@
 #include "../device.h"
 #include "../logger.h"
 #include "../names.h"
-#include "../net.h"
 #include "../route.h"
 #include "../utils.h"
 #include "../xalloc.h"