From 051e6da8875b9547a3b2281be2f6c25071653b3d Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 13 May 2011 08:11:57 +0100 Subject: [PATCH] misc: Add the single include guard to cogl-define.h This is a generated file and maybe the reason why it was not included the first time? --- cogl/cogl-defines.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cogl/cogl-defines.h.in b/cogl/cogl-defines.h.in index 0803463a1..5baa3b915 100644 --- a/cogl/cogl-defines.h.in +++ b/cogl/cogl-defines.h.in @@ -21,6 +21,10 @@ * */ +#if !defined(__COGL_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __COGL_DEFINES_H__ #define __COGL_DEFINES_H__