diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c index 3b5dac64da..86ce57122c 100644 --- a/video/out/opengl/context_drm_egl.c +++ b/video/out/opengl/context_drm_egl.c @@ -46,6 +46,11 @@ #define USE_MASTER 0 +#ifndef EGL_EXT_platform_base +typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) + (EGLenum platform, void *native_display, const EGLint *attrib_list); +#endif + struct framebuffer { int fd;