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 8946e32..55ed30a 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"