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
1 changed files with 4 additions and 0 deletions

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"