summaryrefslogtreecommitdiffstats
path: root/src/deps_log.cc
diff options
context:
space:
mode:
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 79daba5..ceb75ce 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"