mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add missing #include <pthread.h> to av_test.c.
It was an undefined function before.
This commit is contained in:
parent
45d1f9acb9
commit
ad13518153
|
@ -50,6 +50,8 @@
|
|||
#ifdef __APPLE__
|
||||
#include <sched.h>
|
||||
#define pthread_yield sched_yield
|
||||
#else
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
#define c_sleep(x) usleep(1000*x)
|
||||
|
|
Loading…
Reference in New Issue
Block a user