summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-06-05 21:42:21 +0000
committerishmal <ishmal@users.sourceforge.net>2008-06-05 21:42:21 +0000
commitcd0006e6b25a2a08716505f4459902f457492ae0 (patch)
treef63ea2724ed402b3a1577d89ee7a87ca8c59b575 /buildtool.cpp
parentrewrite execCommand's unix impl to better handle separate stdout and stderr s... (diff)
downloadinkscape-cd0006e6b25a2a08716505f4459902f457492ae0.tar.gz
inkscape-cd0006e6b25a2a08716505f4459902f457492ae0.zip
oops. sys/wait.h not on win32
(bzr r5822)
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