]> git.sesse.net Git - ffmpeg/commitdiff
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 59d1286c4667e61b5b6d5d5695e4ca35778af559..5980869c24dc8f4dc19e66d14115f69a058005e4 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"