summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 3044d2a..efa94f9 100644
--- a/src/common.h
+++ b/src/common.h
@@ -122,6 +122,7 @@ char *generate_guid(void);
#ifdef WIN32
#include <windows.h>
+#include <unistd.h>
#define __mkdir(path, mode) mkdir(path)
#define FMT_qu "%I64u"
#ifndef sleep