Add missing #include <pthread.h> to av_test.c.

It was an undefined function before.
This commit is contained in:
iphydf 2016-09-01 00:56:55 +01:00
parent 45d1f9acb9
commit ad13518153
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -50,6 +50,8 @@
#ifdef __APPLE__ #ifdef __APPLE__
#include <sched.h> #include <sched.h>
#define pthread_yield sched_yield #define pthread_yield sched_yield
#else
#include <pthread.h>
#endif #endif
#define c_sleep(x) usleep(1000*x) #define c_sleep(x) usleep(1000*x)