summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-12-07 20:28:26 +0100
committerClément Bœsch <u@pkh.me>2015-12-07 20:28:30 +0100
commitdd1d9b80c99eab2790f6e9c80aa1131c6e9a311d (patch)
treeecfbe2c7550e64dafa8d3dbf30870896a9bab23c /libavutil
parent006d3e97fc8f44488f5935607bb45fce19ea641a (diff)
lavu/opencl: restore #if HAVE_THREADS
Fix regression since a8bb81a. Spotted-by: RiCON
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/opencl.c2
1 files changed, 2 insertions, 0 deletions
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"