Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/opencl.h')
-rw-r--r--libavutil/opencl.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavutil/opencl.h b/libavutil/opencl.h
index 9e6dc55ee8..8c1dfeb037 100644
--- a/libavutil/opencl.h
+++ b/libavutil/opencl.h
@@ -32,11 +32,10 @@
#ifndef LIBAVUTIL_OPENCL_H
#define LIBAVUTIL_OPENCL_H
-#include "config.h"
-#if HAVE_CL_CL_H
-#include <CL/cl.h>
-#else
+#ifdef __APPLE__
#include <OpenCL/cl.h>
+#else
+#include <CL/cl.h>
#endif
#include <stdint.h>
#include "dict.h"