summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtool.cpp b/buildtool.cpp
index 2741a2f2d..22c8dcb49 100644
--- a/buildtool.cpp
+++ b/buildtool.cpp
@@ -45,7 +45,6 @@
#include <unistd.h>
#include <stdarg.h>
#include <sys/stat.h>
-#include <sys/wait.h>
#include <time.h>
#include <sys/time.h>
#include <utime.h>
@@ -60,6 +59,8 @@
#ifdef __WIN32__
#include <windows.h>
+#else
+#include <sys/wait.h>
#endif