lavu/hwcontext_opencl.h: fix build on macOS
This commit is contained in:
parent
5f67073b4c
commit
1204ce0b63
1 changed files with 4 additions and 0 deletions
|
@ -19,7 +19,11 @@
|
|||
#ifndef AVUTIL_HWCONTEXT_OPENCL_H
|
||||
#define AVUTIL_HWCONTEXT_OPENCL_H
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenCL/cl.h>
|
||||
#else
|
||||
#include <CL/cl.h>
|
||||
#endif
|
||||
|
||||
#include "frame.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue