Permalink
Browse files

ismindex: Fix build on mingw

Signed-off-by: Martin Storsjö <martin@martin.st>
  • Loading branch information...
mstorsjo committed Jan 25, 2012
1 parent d78bb1a commit 8801fac365549a43a639e239faba409d8f91ef86
Showing with 4 additions and 0 deletions.
  1. +4 −0 tools/ismindex.c
View
@@ -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"

0 comments on commit 8801fac

Please sign in to comment.