<div dir="ltr"><div>gl-renderer: Add protection against multiple includes of</div><div> header.</div><div><br></div><div>---</div><div> src/gl-renderer.h | 8 +++++++-</div><div> 1 file changed, 7 insertions(+), 1 deletion(-)</div>
<div><br></div><div>diff --git a/src/gl-renderer.h b/src/gl-renderer.h</div><div>index 0342134..1f41c9f 100644</div><div>--- a/src/gl-renderer.h</div><div>+++ b/src/gl-renderer.h</div><div>@@ -20,6 +20,9 @@</div><div> * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</div>
<div> */</div><div> </div><div>+#ifndef __WESTON_GL_RENDERER_H__</div><div>+#define __WESTON_GL_RENDERER_H__</div><div>+</div><div> #include "config.h"</div><div> </div><div> #include "compositor.h"</div>
<div>@@ -64,4 +67,7 @@ struct gl_renderer_interface {</div><div> <span class="" style="white-space:pre"> </span>void (*print_egl_error_state)(void);</div><div> };</div><div> </div><div>-struct gl_renderer_interface gl_renderer_interface;</div>
<div>+extern struct gl_renderer_interface gl_renderer_interface;</div><div>+</div><div>+#endif</div><div>+</div><div><br></div></div>