diff --git a/libavutil/opencl.c b/libavutil/opencl.c index 160076ca2d..08b50341c0 100644 --- a/libavutil/opencl.c +++ b/libavutil/opencl.c @@ -26,6 +26,8 @@ #include "log.h" #include "avassert.h" #include "opt.h" + +#if HAVE_THREADS #include "thread.h" #include "atomic.h"