From a8bb81a05c519dd3f36cc341e5fb448f6d17fa73 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 7 Dec 2015 15:08:51 +0100 Subject: lavc, lavu: use avutil/thread.h instead of redundant conditional includes --- libavutil/opencl.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libavutil/opencl.c') 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 -#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; -- cgit v1.2.3