From: LunarShaddow <aflyhorse@hotmail.com>
Date: Mon, 7 Mar 2016 07:43:04 +0000 (+0800)
Subject: re-arrange include sequence to avoid a mingw introduced bug.
X-Git-Tag: release-1.0.27~15
X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=604d744bc4516b5b070e17a619be43bebb8540ff;p=tinc

re-arrange include sequence to avoid a mingw introduced bug.
refers: https://www.cygwin.com/ml/cygwin/2012-12/msg00194.html
---

diff --git a/src/cygwin/device.c b/src/cygwin/device.c
index 935e5072..eaf50374 100644
--- a/src/cygwin/device.c
+++ b/src/cygwin/device.c
@@ -19,6 +19,7 @@
 */
 
 #include "../system.h"
+#include "../net.h"
 
 #include <w32api/windows.h>
 #include <w32api/winioctl.h>
@@ -26,7 +27,6 @@
 #include "../conf.h"
 #include "../device.h"
 #include "../logger.h"
-#include "../net.h"
 #include "../route.h"
 #include "../utils.h"
 #include "../xalloc.h"