ismindex: Fix build on mingw

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 8801fac365)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
release/0.10
Martin Storsjö 13 years ago committed by Michael Niedermayer
parent 33c21378a8
commit b9e79a3f4e
  1. 4
      tools/ismindex.c

@ -35,6 +35,10 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifdef _WIN32
#include <io.h>
#define mkdir(a, b) mkdir(a)
#endif
#include "libavformat/avformat.h" #include "libavformat/avformat.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"

Loading…
Cancel
Save