ismindex: Fix build on mingw
authorMartin Storsjö <martin@martin.st>
Wed, 25 Jan 2012 11:47:38 +0000 (13:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Jan 2012 21:25:29 +0000 (22:25 +0100)
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 8801fac365549a43a639e239faba409d8f91ef86)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/ismindex.c

index 59d1286..5980869 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include <sys/stat.h>
+#ifdef _WIN32
+#include <io.h>
+#define mkdir(a, b) mkdir(a)
+#endif
 
 #include "libavformat/avformat.h"
 #include "libavutil/intreadwrite.h"