summaryrefslogtreecommitdiff
path: root/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util.cpp')
-rw-r--r--util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.cpp b/util.cpp
index 99aed75..4662724 100644
--- a/util.cpp
+++ b/util.cpp
@@ -1,3 +1,6 @@
+#if _WIN32
+#include <direct.h>
+#endif
#ifndef arr_count
#define arr_count(a) (sizeof (a) / sizeof *(a))
#endif