diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-02 22:42:16 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-02 22:45:39 +0100 |
commit | d4f37174a16afad6394e48e203abb41252e382d2 (patch) | |
tree | c6945c01f096d5368867d9cedf886947f5a8c761 /video/out/gl_hwdec_vda.c | |
parent | d4588bf5774f4eb41a3c8225e28ce7ef2973a393 (diff) | |
download | mpv-d4f37174a16afad6394e48e203abb41252e382d2.tar.bz2 mpv-d4f37174a16afad6394e48e203abb41252e382d2.tar.xz |
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.
Diffstat (limited to 'video/out/gl_hwdec_vda.c')
-rw-r--r-- | video/out/gl_hwdec_vda.c | 1 |
1 files changed, 1 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" |