summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/gl_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 546127c91f..f42caa8fd1 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -33,8 +33,14 @@
#include "video_out.h"
#include "csputils.h"
+#if defined(CONFIG_GL_COCOA) && !defined(CONFIG_GL_X11)
+#include <OpenGL/gl.h>
+#include <OpenGL/gl3.h>
+#include <OpenGL/glext.h>
+#else
#include <GL/gl.h>
#include <GL/glext.h>
+#endif
#include "libvo/gl_header_fixes.h"