1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

osdep: potentially fix compilation on OpenBSD

The <pthread_np.h> header expects that <pthread.h> was already included.
We were including <pthread.h> only later via our threads.h.
This commit is contained in:
wm4 2014-10-31 19:44:42 +01:00
parent 8607b0c44b
commit 0afc99b33f

View File

@ -16,6 +16,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
#include <pthread.h>
#include "config.h" #include "config.h"