diff options
author | Martin Storsjö <martin@martin.st> | 2012-01-25 13:47:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-26 22:25:29 +0100 |
commit | b9e79a3f4e428e54ff51febc94bdbbf0802d47e1 (patch) | |
tree | 79df1e4bfad7ec9b1890474cf222781d3758f27e | |
parent | 33c21378a846d880110324f3e139a693a9bb30ca (diff) | |
download | ffmpeg-b9e79a3f4e428e54ff51febc94bdbbf0802d47e1.tar.gz |
ismindex: Fix build on mingw
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 8801fac365549a43a639e239faba409d8f91ef86)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | tools/ismindex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ismindex.c b/tools/ismindex.c index 59d1286c46..5980869c24 100644 --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -35,6 +35,10 @@ #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" |