summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-09-17 00:37:15 +0200
committerDudemanguy <random342@airmail.cc>2023-09-29 20:48:58 +0000
commitcdfd5c280a174b9e126908305c250bedbec0be61 (patch)
treedee5272dc77f4d5a60a5e2609082e06f79d5fdd1 /stream/stream_lavf.c
parent318b5471a18e464cfcd1f7222da7853b7056f9fc (diff)
downloadmpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.bz2
mpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.xz
win32/pthread: define _POSIX_TIMERS to notify they are not supported
Diffstat (limited to 'stream/stream_lavf.c')
-rw-r--r--stream/stream_lavf.c2
1 files changed, 2 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>