summaryrefslogtreecommitdiffstats
path: root/src/subprocess_test.cc
diff options
context:
space:
mode:
authorOleksandr Usov <a.s.usov@gmail.com>2012-07-16 13:05:53 (GMT)
committerOleksandr Usov <a.s.usov@gmail.com>2012-07-16 13:05:53 (GMT)
commit74fb2bec2ae6041876da654236107edfac215ea5 (patch)
tree07696a0ec0d9c266349b633b69d6d9550fc7aad4 /src/subprocess_test.cc
parent638b0336e98af65240c1d0d66c5e0d9e5b800d9e (diff)
downloadNinja-74fb2bec2ae6041876da654236107edfac215ea5.zip
Ninja-74fb2bec2ae6041876da654236107edfac215ea5.tar.gz
Ninja-74fb2bec2ae6041876da654236107edfac215ea5.tar.bz2
Add missing include of <sys/resouce.h>
Diffstat (limited to 'src/subprocess_test.cc')
-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