summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build_log_test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build_log_test.cc b/src/build_log_test.cc
index 112e3bd..fdd2378 100644
--- a/src/build_log_test.cc
+++ b/src/build_log_test.cc
@@ -21,6 +21,12 @@
#include <share.h>
#endif
+#ifdef linux
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#endif
+
static const char kTestFilename[] = "BuildLogTest-tempfile";
struct BuildLogTest : public StateTestWithBuiltinRules {