diff options
author | Martin Storsjö | 2012-01-25 13:47:38 +0200 |
---|---|---|
committer | Martin Storsjö | 2012-01-26 00:04:28 +0200 |
commit | 8801fac365549a43a639e239faba409d8f91ef86 (patch) | |
tree | b2c7e99e0d24c1d9ca9a3d22fa5bd282c059ac97 /tools/ismindex.c | |
parent | d78bb1a4b2a3a415b68e4e6dd448779eccec64e3 (diff) |
ismindex: Fix build on mingw
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools/ismindex.c')
-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" |