diff --git a/src/win/win.c b/src/win/win.c
index cd7fc270d..07ab1647c 100644
--- a/src/win/win.c
+++ b/src/win/win.c
@@ -8,7 +8,7 @@
*
* Platform main support module for Windows.
*
- * Version: @(#)win.c 1.0.52 2018/07/28
+ * Version: @(#)win.c 1.0.53 2018/10/12
*
* Authors: Sarah Walker,
* Miran Grca,
@@ -20,6 +20,7 @@
*/
#define UNICODE
#include
+#include
#include
#include
#include
@@ -547,7 +548,8 @@ plat_dir_check(wchar_t *path)
int
plat_dir_create(wchar_t *path)
{
- return((int)CreateDirectory(path, NULL));
+ // return((int)CreateDirectory(path, NULL));
+ return((int)SHCreateDirectory(hwndMain, path));
}