changeset 36807:072f64f1eec3

corevideo: include OpenGL/gl.h, this is required from 10.9 Including gl_common would be nicer, but would make vo_corevideo depend on vo_gl, which seems a bit overkill. Patch by Jiang Jiang [gzjjgod gmail].
author reimar
date Sun, 23 Feb 2014 13:06:57 +0000
parents c602dc916e07
children 1b5b0b63de4b
files libvo/vo_corevideo.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.m	Sun Feb 23 12:25:28 2014 +0000
+++ b/libvo/vo_corevideo.m	Sun Feb 23 13:06:57 2014 +0000
@@ -25,6 +25,7 @@
 #include <sys/mman.h>
 #include <unistd.h>
 #include <CoreServices/CoreServices.h>
+#include <OpenGL/gl.h>
 //special workaround for Apple bug #6267445
 //(OSServices Power API disabled in OSServices.h for 64bit systems)
 #ifndef __POWER__