Commit 9bc62da9 authored by James Almer's avatar James Almer

avutil/opencl: don't include config.h

It's not an installed header.
Tested-by: 's avatarThilo Borgmann <thilo.borgmann@mail.de>
Tested-by: 's avatarWei Gao <highgod0401@gmail.com>
Reviewed-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
(cherry picked from commit 3aaff803)
parent 2a6d16ba
......@@ -1635,7 +1635,6 @@ HEADERS_LIST="
asm_types_h
cdio_paranoia_h
cdio_paranoia_paranoia_h
CL_cl_h
dev_bktr_ioctl_bt848_h
dev_bktr_ioctl_meteor_h
dev_ic_bt8xx_h
......@@ -4756,7 +4755,6 @@ check_func_headers glob.h glob
enabled xlib &&
check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
check_header cl/cl.h
check_header direct.h
check_header dlfcn.h
check_header dxva.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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment