summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-04-30 15:26:23 (GMT)
committerEvan Martin <martine@danga.com>2013-04-30 15:26:23 (GMT)
commitc0d21185113748e056c8df5dcd42a825263d4bab (patch)
tree0a19e4b9dfa79b5207bb2aef01d3a5bd5947e3d3
parentbc56367850a0c826b9d08ad3efc262af1b872b9f (diff)
parent1f7ae6fec9588b196b67251ff7aa3ba49fd6c6c0 (diff)
downloadNinja-c0d21185113748e056c8df5dcd42a825263d4bab.zip
Ninja-c0d21185113748e056c8df5dcd42a825263d4bab.tar.gz
Ninja-c0d21185113748e056c8df5dcd42a825263d4bab.tar.bz2
Merge pull request #562 from TheOneRing/fixed-include
added missing windows include for Truncate
-rw-r--r--src/util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cc b/src/util.cc
index 127f8b1..a215dd2 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -17,6 +17,7 @@
#ifdef _WIN32
#include <windows.h>
#include <io.h>
+#include <share.h>
#endif
#include <errno.h>