summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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