ismindex: Include direct.h for _mkdir on windows

The Windows SDK in MSVC doesn't have mkdir, only _mkdir, and
MSDN says one should include direct.h to use it.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2012-08-28 22:30:36 +03:00
parent d4bba93f4d
commit bff714ad4c
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@
#include <string.h>
#include <sys/stat.h>
#ifdef _WIN32
#include <io.h>
#define mkdir(a, b) mkdir(a)
#include <direct.h>
#define mkdir(a, b) _mkdir(a)
#endif
#include "libavformat/avformat.h"