From b9e79a3f4e428e54ff51febc94bdbbf0802d47e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 25 Jan 2012 13:47:38 +0200 Subject: [PATCH] ismindex: Fix build on mingw MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö (cherry picked from commit 8801fac365549a43a639e239faba409d8f91ef86) Signed-off-by: Michael Niedermayer --- tools/ismindex.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include #include +#ifdef _WIN32 +#include +#define mkdir(a, b) mkdir(a) +#endif #include "libavformat/avformat.h" #include "libavutil/intreadwrite.h"