summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index 4ad005f..d30625a 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -17,7 +17,10 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+
+#ifndef _WIN32
#include <unistd.h>
+#endif
#include "build.h"
#include "graph.h"