summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/av_test.c2
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)