Re: [FFmpeg-devel] [PATCH] lavu/hwcontext_opencl.h: fix build on macOS
On 2017/11/28 13:38, Rodger Combs wrote: > --- > libavutil/hwcontext_opencl.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavutil/hwcontext_opencl.h b/libavutil/hwcontext_opencl.h > index 8e34df44cd..ef54486c95 100644 > --- a/libavutil/hwcontext_opencl.h > +++ b/libavutil/hwcontext_opencl.h > @@ -19,7 +19,11 @@ > #ifndef AVUTIL_HWCONTEXT_OPENCL_H > #define AVUTIL_HWCONTEXT_OPENCL_H > > +#ifdef __APPLE__ > +#include > +#else > #include > +#endif LGTM > > #include "frame.h" > ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH] lavu/hwcontext_opencl.h: fix build on macOS
--- libavutil/hwcontext_opencl.h | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/hwcontext_opencl.h b/libavutil/hwcontext_opencl.h index 8e34df44cd..ef54486c95 100644 --- a/libavutil/hwcontext_opencl.h +++ b/libavutil/hwcontext_opencl.h @@ -19,7 +19,11 @@ #ifndef AVUTIL_HWCONTEXT_OPENCL_H #define AVUTIL_HWCONTEXT_OPENCL_H +#ifdef __APPLE__ +#include +#else #include +#endif #include "frame.h" -- 2.14.3 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel