The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
--- src/msw/mslu.cpp	2010-01-07 22:38:40.000000000 +0100
+++ src/msw/mslu.cpp	2010-01-07 22:39:45.000000000 +0100
@@ -61,7 +61,7 @@
 #include <io.h>
 #include <sys/stat.h>
 
-#ifdef __VISUALC__
+#if defined(__VISUALC__) || defined(__MINGW64_VERSION_MAJOR)
     #include <direct.h>
 #endif