diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-09-17 00:37:15 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-29 20:48:58 +0000 |
commit | cdfd5c280a174b9e126908305c250bedbec0be61 (patch) | |
tree | dee5272dc77f4d5a60a5e2609082e06f79d5fdd1 /stream | |
parent | 318b5471a18e464cfcd1f7222da7853b7056f9fc (diff) | |
download | mpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.bz2 mpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.xz |
win32/pthread: define _POSIX_TIMERS to notify they are not supported
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_lavf.c | 2 | ||||
-rw-r--r-- | stream/stream_libarchive.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index cfdae98137..0164ede388 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -15,6 +15,8 @@ * License along with mpv. If not, see <http://www.gnu.org/licenses/>. */ +#include <pthread.h> + #include <libavformat/avformat.h> #include <libavformat/avio.h> #include <libavutil/opt.h> diff --git a/stream/stream_libarchive.c b/stream/stream_libarchive.c index 61c95cc349..cfc1f2f96f 100644 --- a/stream/stream_libarchive.c +++ b/stream/stream_libarchive.c @@ -15,6 +15,7 @@ * License along with mpv. If not, see <http://www.gnu.org/licenses/>. */ +#include <pthread.h> #include <archive.h> #include <archive_entry.h> |