summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"