From d4f37174a16afad6394e48e203abb41252e382d2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 2 Jan 2014 22:42:16 +0100 Subject: vda: fix build on OS X 10.7 Looks like on 10.8 OpenGL.h recursively includes CGLIOSurface.h. That is not the case for 10.7 so the build was broken on that version of OS X. --- video/out/gl_hwdec_vda.c | 1 + video/out/vo_corevideo.c | 1 + 2 files changed, 2 insertions(+) (limited to 'video') diff --git a/video/out/gl_hwdec_vda.c b/video/out/gl_hwdec_vda.c index 945a57bb1c..c86c1abb34 100644 --- a/video/out/gl_hwdec_vda.c +++ b/video/out/gl_hwdec_vda.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "video/decode/dec_video.h" #include "cocoa_common.h" diff --git a/video/out/vo_corevideo.c b/video/out/vo_corevideo.c index 92b3c764ca..20769d7ca1 100644 --- a/video/out/vo_corevideo.c +++ b/video/out/vo_corevideo.c @@ -25,6 +25,7 @@ #include #if HAVE_VDA_HWACCEL #include +#include #endif #include -- cgit v1.2.3