Code

oops. sys/wait.h not on win32
authorishmal <ishmal@users.sourceforge.net>
Thu, 5 Jun 2008 21:42:21 +0000 (21:42 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 5 Jun 2008 21:42:21 +0000 (21:42 +0000)
buildtool.cpp

index 2741a2f2d8ec8214cee7134836b0109bfa4c3a1e..22c8dcb49fe36b6aed5643a8ab8d2b5308306b6e 100644 (file)
@@ -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