mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
command: fix compilation with MinGW
This include header is needed for the fork/exec code, which is inactive on Windows anyway.
This commit is contained in:
parent
e4f35516fb
commit
5b19a66cff
@ -24,7 +24,6 @@
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include <libavutil/avstring.h>
|
||||
#include <libavutil/common.h>
|
||||
@ -67,6 +66,9 @@
|
||||
#if HAVE_SYS_MMAN_H
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#ifndef __MINGW32__
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#include "osdep/io.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user