summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-28 22:30:36 +0300
committerMartin Storsjö <martin@martin.st>2012-08-29 00:23:18 +0300
commitbff714ad4c1a3db38816a9ebded20ef4f60ad08f (patch)
tree9c5b20c00b42f0a4457e8ffaf58b5af6925b04dd /tools
parentd4bba93f4d9942ffede16c0f9d810eef7f81fe97 (diff)
downloadffmpeg-streaming-bff714ad4c1a3db38816a9ebded20ef4f60ad08f.zip
ffmpeg-streaming-bff714ad4c1a3db38816a9ebded20ef4f60ad08f.tar.gz
ismindex: Include direct.h for _mkdir on windows
The Windows SDK in MSVC doesn't have mkdir, only _mkdir, and MSDN says one should include direct.h to use it. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools')
-rw-r--r--tools/ismindex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ismindex.c b/tools/ismindex.c
index f6b0c6c..bf8c69d 100644
--- a/tools/ismindex.c
+++ b/tools/ismindex.c
@@ -36,8 +36,8 @@
#include <string.h>
#include <sys/stat.h>
#ifdef _WIN32
-#include <io.h>
-#define mkdir(a, b) mkdir(a)
+#include <direct.h>
+#define mkdir(a, b) _mkdir(a)
#endif
#include "libavformat/avformat.h"
OpenPOWER on IntegriCloud