summaryrefslogtreecommitdiffstats
path: root/src/deps_log.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-04-09 18:02:53 (GMT)
committerEvan Martin <martine@danga.com>2013-04-09 18:02:53 (GMT)
commit82450cb61eb040f47f1d30ef3dd581dbed98af69 (patch)
tree826061480953dd3891dbdeec205c674492b299d0 /src/deps_log.cc
parent0bdf68607c5f381376bc8c2b0ddb1d80eac6aaa2 (diff)
parent78effcb85dbb45633f6735e48a815bd43d5de578 (diff)
downloadNinja-82450cb61eb040f47f1d30ef3dd581dbed98af69.zip
Ninja-82450cb61eb040f47f1d30ef3dd581dbed98af69.tar.gz
Ninja-82450cb61eb040f47f1d30ef3dd581dbed98af69.tar.bz2
Merge pull request #535 from sgraham/fix-windows-depslog
fix windows build after depslog
Diffstat (limited to 'src/deps_log.cc')
-rw-r--r--src/deps_log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index 79daba5..ceb75ce 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -18,7 +18,9 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#ifndef _WIN32
#include <unistd.h>
+#endif
#include "graph.h"
#include "metrics.h"