about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2009-09-23T12·57+0000
committerRob Vermaas <rob.vermaas@gmail.com>2009-09-23T12·57+0000
commit48b58617e9e84fd1a0e4bd11798bd6b9d04a1633 (patch)
treef91f5e90f772dd5cb08b3e8bf434e760ad0be3ed
parent51ad64cc0791f797c936d8d7b1cef0dec64c0ce3 (diff)
* include wait.h for WEXITSTATUS
-rw-r--r--src/libstore/build.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index d3b46a2ca0d6..81a776e4fdf3 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -15,6 +15,7 @@
 
 #include <time.h>
 #include <sys/time.h>
+#include <sys/wait.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>