[Spice-devel] [PATCH 08/15] common: add missing header guards to gl_canvas.h

Christophe Fergeau cfergeau at redhat.com
Thu Apr 21 04:53:33 PDT 2011


---
 common/gl_canvas.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/common/gl_canvas.h b/common/gl_canvas.h
index ff3fba0..4a15668 100644
--- a/common/gl_canvas.h
+++ b/common/gl_canvas.h
@@ -20,6 +20,9 @@
 #include "canvas_base.h"
 #include "region.h"
 
+#ifndef _H__GL_CANVAS
+#define _H__GL_CANVAS
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -42,3 +45,5 @@ void gl_canvas_init();
 #ifdef __cplusplus
 }
 #endif
+
+#endif
-- 
1.7.4.4



More information about the Spice-devel mailing list