summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/generic.h b/include/generic.h
index aa6033e..fe48cc5 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -137,6 +137,7 @@ inline T ABS(T x) {
#define MKDIR(name) mkdir(name, 0777)
#else
#if defined __WIN32__ || defined _WIN32
+#include <direct.h>
#define MKDIR mkdir
#else
#error Unknow compiler/platform