diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-09-01 00:56:55 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-09-01 15:22:03 +0100 |
commit | ad135181531e567255c314593984d16cdb839eba (patch) | |
tree | 08797fe5ca644eca02c703b306c3c671acb996a6 /testing | |
parent | 45d1f9acb9dbec6ea84a81b2cc0b7df276ee15a9 (diff) |
Add missing #include <pthread.h> to av_test.c.
It was an undefined function before.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/av_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/av_test.c b/testing/av_test.c index e724bb0e..c370a66f 100644 --- a/testing/av_test.c +++ b/testing/av_test.c | |||
@@ -50,6 +50,8 @@ | |||
50 | #ifdef __APPLE__ | 50 | #ifdef __APPLE__ |
51 | #include <sched.h> | 51 | #include <sched.h> |
52 | #define pthread_yield sched_yield | 52 | #define pthread_yield sched_yield |
53 | #else | ||
54 | #include <pthread.h> | ||
53 | #endif | 55 | #endif |
54 | 56 | ||
55 | #define c_sleep(x) usleep(1000*x) | 57 | #define c_sleep(x) usleep(1000*x) |