lavu/hwcontext_opencl.h: fix build on macOS

This commit is contained in:
Rodger Combs 2017-11-27 23:38:46 -06:00
parent 5f67073b4c
commit 1204ce0b63

View File

@ -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"