From 5b19a66cff1a4004a014ede2c1e2bf5d4613c3ab Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 7 Dec 2013 19:26:05 +0100 Subject: command: fix compilation with MinGW This include header is needed for the fork/exec code, which is inactive on Windows anyway. --- mpvcore/player/command.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mpvcore/player/command.c b/mpvcore/player/command.c index 6367c17fe5..05742e0da6 100644 --- a/mpvcore/player/command.c +++ b/mpvcore/player/command.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include @@ -67,6 +66,9 @@ #if HAVE_SYS_MMAN_H #include #endif +#ifndef __MINGW32__ +#include +#endif #include "osdep/io.h" -- cgit v1.2.3