summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 23:37:12 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:51 +0100
commitc1530facf4971748b0635c24ae3ab5c0dddd710f (patch)
tree288a6f0384115c0ac4da59bac24bf565ee8f8d37 /common
parentc15c5050afa972a8918427e213a2500b44328b85 (diff)
common: add missing header guards to gl_canvas.h
Diffstat (limited to 'common')
-rw-r--r--common/gl_canvas.h5
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