diff options
Diffstat (limited to 'libavutil/opencl.c')
-rw-r--r-- | libavutil/opencl.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libavutil/opencl.c b/libavutil/opencl.c index 62706f3094..160076ca2d 100644 --- a/libavutil/opencl.c +++ b/libavutil/opencl.c @@ -26,15 +26,7 @@ #include "log.h" #include "avassert.h" #include "opt.h" - -#if HAVE_THREADS -#if HAVE_PTHREADS -#include <pthread.h> -#elif HAVE_W32THREADS -#include "compat/w32pthreads.h" -#elif HAVE_OS2THREADS -#include "compat/os2threads.h" -#endif +#include "thread.h" #include "atomic.h" static pthread_mutex_t * volatile atomic_opencl_lock = NULL; |