summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/gl_hwdec_vda.c1
-rw-r--r--video/out/vo_corevideo.c1
2 files changed, 2 insertions, 0 deletions
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 <IOSurface/IOSurface.h>
#include <CoreVideo/CoreVideo.h>
#include <OpenGL/OpenGL.h>
+#include <OpenGL/CGLIOSurface.h>
#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 <QuartzCore/QuartzCore.h>
#if HAVE_VDA_HWACCEL
#include <IOSurface/IOSurface.h>
+#include <OpenGL/CGLIOSurface.h>
#endif
#include <assert.h>