summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-25 13:47:38 +0200
committerMartin Storsjö <martin@martin.st>2012-01-26 00:04:28 +0200
commit8801fac365549a43a639e239faba409d8f91ef86 (patch)
treeb2c7e99e0d24c1d9ca9a3d22fa5bd282c059ac97 /tools
parentd78bb1a4b2a3a415b68e4e6dd448779eccec64e3 (diff)
downloadffmpeg-8801fac365549a43a639e239faba409d8f91ef86.tar.gz
ismindex: Fix build on mingw
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools')
-rw-r--r--tools/ismindex.c4
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"