lavu/opencl: restore #if HAVE_THREADS
[ffmpeg.git] / libavutil / opencl.c
index 160076c..08b5034 100644 (file)
@@ -26,6 +26,8 @@
 #include "log.h"
 #include "avassert.h"
 #include "opt.h"
 #include "log.h"
 #include "avassert.h"
 #include "opt.h"
+
+#if HAVE_THREADS
 #include "thread.h"
 #include "atomic.h"
 
 #include "thread.h"
 #include "atomic.h"