Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > b3c9836e846d6fdf5244ffdcb224e9dc > files > 2

mingw-icu-50.1.2-4.mga5.src.rpm

--- icu/source/tools/toolutil/toolutil.cpp.orig	2012-02-11 00:08:41.443126312 +0100
+++ icu/source/tools/toolutil/toolutil.cpp	2012-02-11 00:09:22.265903655 +0100
@@ -40,9 +40,11 @@
 #   include <sys/types.h>
 #endif
 
-/* In MinGW environment, io.h needs to be included for _mkdir() */
+/* In MinGW environment, io.h needs to be included for _mkdir() for
+ * the mingw.org toolchain and direct.h for the mingw-w64 toolchain */
 #if U_PLATFORM == U_PF_MINGW
 #include <io.h>
+#include <direct.h>
 #endif
 
 #include <errno.h>