vulkan: Update Vulkan XML and headers to 1.2.149
[mesa.git] / include / GL / mesa_glinterop.h
index 173476a988e0d6f7ce06a45e1017689440157e6b..45fda93ca2495608a8d0340643755604f1042bc1 100644 (file)
@@ -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 {