lavu/opencl: restore #if HAVE_THREADS
authorClément Bœsch <u@pkh.me>
Mon, 7 Dec 2015 19:28:26 +0000 (20:28 +0100)
committerClément Bœsch <u@pkh.me>
Mon, 7 Dec 2015 19:28:30 +0000 (20:28 +0100)
Fix regression since a8bb81a.

Spotted-by: RiCON
libavutil/opencl.c

index 160076c..08b5034 100644 (file)
@@ -26,6 +26,8 @@
 #include "log.h"
 #include "avassert.h"
 #include "opt.h"
+
+#if HAVE_THREADS
 #include "thread.h"
 #include "atomic.h"