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)
committerLunarShaddow <aflyhorse@hotmail.com>
Mon, 7 Mar 2016 07:43:04 +0000 (15:43 +0800)
refers: https://www.cygwin.com/ml/cygwin/2012-12/msg00194.html

src/cygwin/device.c

index 935e50727b003efeb2f3bae54f96a48e38c54767..eaf50374fe02868bfa662e67fc4d447fb10e6bce 100644 (file)
@@ -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"