summaryrefslogtreecommitdiffstats
path: root/src/deps_log.cc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2013-04-09 17:03:46 (GMT)
committerScott Graham <scottmg@chromium.org>2013-04-09 17:03:46 (GMT)
commit808aa158be0d422a2ee5366a3f4eda29cd51c39a (patch)
tree1eec01a29e04b7207c40d162e4074feee149a52d /src/deps_log.cc
parent3e5dce7ce641c600384268db3feb74cb8aac25b3 (diff)
downloadNinja-808aa158be0d422a2ee5366a3f4eda29cd51c39a.zip
Ninja-808aa158be0d422a2ee5366a3f4eda29cd51c39a.tar.gz
Ninja-808aa158be0d422a2ee5366a3f4eda29cd51c39a.tar.bz2
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 8946e32..55ed30a 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"