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:
parent
8607b0c44b
commit
0afc99b33f
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user