summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-07-17 16:31:52 (GMT)
committerEvan Martin <martine@danga.com>2012-07-17 16:31:52 (GMT)
commit5d8d27c3f078ec00efa97e9bbf0418825e8ff57f (patch)
tree5ba0d0725ca6653b6611de17a31d82f8221b1071 /src
parent183a2d8f194116e4161ff40a74dee86a8c70c54a (diff)
parent74fb2bec2ae6041876da654236107edfac215ea5 (diff)
downloadNinja-5d8d27c3f078ec00efa97e9bbf0418825e8ff57f.zip
Ninja-5d8d27c3f078ec00efa97e9bbf0418825e8ff57f.tar.gz
Ninja-5d8d27c3f078ec00efa97e9bbf0418825e8ff57f.tar.bz2
Merge pull request #363 from usovalx/subprocess_test_build_failure
Add missing include of <sys/resouce.h>
Diffstat (limited to 'src')
-rw-r--r--src/subprocess_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/subprocess_test.cc b/src/subprocess_test.cc
index c155012..0c10250 100644
--- a/src/subprocess_test.cc
+++ b/src/subprocess_test.cc
@@ -16,6 +16,11 @@
#include "test.h"
+#ifdef linux
+// required by SubprocessTest
+#include <sys/resource.h>
+#endif
+
namespace {
#ifdef _WIN32