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.
This commit is contained in:
Stefano Pigozzi
2014-01-06 20:21:17 +01:00
committed by wm4
parent 5a81f7678e
commit 8abdf1f56e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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"
+1
View File
@@ -25,6 +25,7 @@
#include <QuartzCore/QuartzCore.h>
#if HAVE_VDA_HWACCEL
#include <IOSurface/IOSurface.h>
#include <OpenGL/CGLIOSurface.h>
#endif
#include <assert.h>