mkdir: Make it work on mingw64.
* lib/sys_stat.in.h: Include <direct.h> together with <io.h>.
+ * lib/mkdir.c: Update comment.
Reported by Roman Donchenko (Роман Донченко) <dxdragon@yandex.ru>.
2010-04-10 Bruno Haible <bruno@clisp.org>
/* mingw's _mkdir() function has 1 argument, but we pass 2 arguments.
Additionally, it declares _mkdir (and depending on compile flags, an
- alias mkdir), only in the nonstandard io.h. */
+ alias mkdir), only in the nonstandard includes <direct.h> and <io.h>,
+ which are included in the <sys/stat.h> override. */
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
# define mkdir(name,mode) _mkdir (name)
# define maybe_unused _GL_UNUSED