From: Emil Velikov Date: Tue, 3 May 2016 11:25:53 +0000 (+0100) Subject: mesa_glinterop: remove inclusion of EGL header X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3eb8702fb4de03ca132a66e7e8df1a0b8f85e9a;p=mesa.git mesa_glinterop: remove inclusion of EGL header Analogous to previous commit, but for EGL. Signed-off-by: Emil Velikov Reviewed-by: Marek Olšák Tested-by: Tom Stellard --- diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h index b76bd7ec2f5..5c172c6ca9e 100644 --- a/include/GL/mesa_glinterop.h +++ b/include/GL/mesa_glinterop.h @@ -51,7 +51,7 @@ #define MESA_GLINTEROP_H #include -#include +#include #ifdef __cplusplus extern "C" { @@ -61,6 +61,10 @@ extern "C" { typedef struct _XDisplay Display; typedef struct __GLXcontextRec *GLXContext; +/* Forward declarations to avoid inclusion of EGL/egl.h */ +typedef void *EGLDisplay; +typedef void *EGLContext; + /** Returned error codes. */ enum { MESA_GLINTEROP_SUCCESS = 0,