summaryrefslogtreecommitdiff
path: root/libs/host/CopyFile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/host/CopyFile.c')
-rw-r--r--libs/host/CopyFile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/host/CopyFile.c b/libs/host/CopyFile.c
index 1d9b6bd8e8..d785dca83a 100644
--- a/libs/host/CopyFile.c
+++ b/libs/host/CopyFile.c
@@ -25,6 +25,7 @@
#include <assert.h>
#if defined(_WIN32)
+#include <direct.h> /* For _mkdir() */
# define mkdir(path,mode) _mkdir(path)
# define S_ISLNK(s) 0
# define lstat stat