diff options
Diffstat (limited to 'lib/mesa/include/GL/mesa_glinterop.h')
-rw-r--r-- | lib/mesa/include/GL/mesa_glinterop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mesa/include/GL/mesa_glinterop.h b/lib/mesa/include/GL/mesa_glinterop.h index 173476a98..45fda93ca 100644 --- a/lib/mesa/include/GL/mesa_glinterop.h +++ b/lib/mesa/include/GL/mesa_glinterop.h @@ -58,12 +58,16 @@ extern "C" { #endif /* Forward declarations to avoid inclusion of GL/glx.h */ +#ifndef GLX_H struct _XDisplay; struct __GLXcontextRec; +#endif /* Forward declarations to avoid inclusion of EGL/egl.h */ +#ifndef __egl_h_ typedef void *EGLDisplay; typedef void *EGLContext; +#endif /** Returned error codes. */ enum { |