From 228e48b20c4c2594ed889b4593902ac6c9b3e5fc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 28 Mar 2012 19:18:09 -0400 Subject: Include unistd.h where needed --- src/build.cc | 1 + src/build_log.cc | 1 + src/ninja.cc | 1 + 3 files changed, 3 insertions(+) diff --git a/src/build.cc b/src/build.cc index 44c1df6..a2e4f64 100644 --- a/src/build.cc +++ b/src/build.cc @@ -20,6 +20,7 @@ #ifdef _WIN32 #include #else +#include #include #include #include diff --git a/src/build_log.cc b/src/build_log.cc index fd93ea8..0cecd70 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -17,6 +17,7 @@ #include #include #include +#include #include "build.h" #include "graph.h" diff --git a/src/ninja.cc b/src/ninja.cc index 04cd771..7d020db 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -31,6 +31,7 @@ #include #else #include +#include #endif #include "browse.h" -- cgit v0.12