summaryrefslogtreecommitdiffstats
path: root/src/build_log_perftest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log_perftest.cc')
-rw-r--r--src/build_log_perftest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/build_log_perftest.cc b/src/build_log_perftest.cc
index 02f4c60..a09beb8 100644
--- a/src/build_log_perftest.cc
+++ b/src/build_log_perftest.cc
@@ -20,6 +20,11 @@
#include "manifest_parser.h"
#include "state.h"
#include "util.h"
+#include "metrics.h"
+
+#ifndef _WIN32
+#include <unistd.h>
+#endif
const char kTestFilename[] = "BuildLogPerfTest-tempfile";