Browse Source

lavu/hwcontext_opencl.h: fix build on macOS

tags/n4.0
Rodger Combs 7 years ago
parent
commit
1204ce0b63
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavutil/hwcontext_opencl.h

+ 4
- 0
libavutil/hwcontext_opencl.h View File

@@ -19,7 +19,11 @@
#ifndef AVUTIL_HWCONTEXT_OPENCL_H #ifndef AVUTIL_HWCONTEXT_OPENCL_H
#define AVUTIL_HWCONTEXT_OPENCL_H #define AVUTIL_HWCONTEXT_OPENCL_H


#ifdef __APPLE__
#include <OpenCL/cl.h>
#else
#include <CL/cl.h> #include <CL/cl.h>
#endif


#include "frame.h" #include "frame.h"




Loading…
Cancel
Save