diff options
author | Nico Weber <thakis@chromium.org> | 2014-09-18 23:08:25 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-09-18 23:09:20 (GMT) |
commit | ac047b1f7efe3e90c2759864b57fd7c0d9404313 (patch) | |
tree | 22393d34d3ae63cf375841e127a02b8d89cdf65d /src/deps_log_test.cc | |
parent | ff2739b118ca8a3c2e0f2709a2852acced0d8407 (diff) | |
download | Ninja-ac047b1f7efe3e90c2759864b57fd7c0d9404313.zip Ninja-ac047b1f7efe3e90c2759864b57fd7c0d9404313.tar.gz Ninja-ac047b1f7efe3e90c2759864b57fd7c0d9404313.tar.bz2 |
Fix building tests on Windows again.
Turns out gtest was pulling in sys/stat.h, and we were
using stat() through that in tests. This doesn't work
with old MSVCs, so we should probably replace that with
RealDiskInterface in a follow-up.
Diffstat (limited to 'src/deps_log_test.cc')
-rw-r--r-- | src/deps_log_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deps_log_test.cc b/src/deps_log_test.cc index 4fa4008..30cada2 100644 --- a/src/deps_log_test.cc +++ b/src/deps_log_test.cc @@ -14,9 +14,9 @@ #include "deps_log.h" +#include <sys/stat.h> #ifndef _WIN32 #include <unistd.h> -#include <sys/stat.h> #endif #include "graph.h" |