about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/util.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index a8ad3fe4807b..f34bd9e05931 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -1,5 +1,9 @@
 #include "config.h"
 
+#ifdef __CYGWIN__
+#include <windows.h>
+#endif
+
 #include <iostream>
 #include <cerrno>
 #include <cstdio>
@@ -13,10 +17,6 @@
 #include <fcntl.h>
 #include <signal.h>
 
-#ifdef __CYGWIN__
-#include <windows.h>
-#endif
-
 #include "util.hh"