From 1022c285c6f7313972d8ec96a12b71f3e07880d4 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Sun, 19 Feb 2012 23:05:30 +0000 Subject: [PATCH] texture-pixmap-x11.h: define __COGL_H_INSIDE__ Ideally we wouldn't have exposed cogl-texture-pixmap-x11.h as a top level header and would have just automatically included it in cogl.h but we already have code that assumes it can be directly included. This ensures we define __COGL_H_INSIDE__ as a reminder that it is a top level header in case we later need to include other cogl internal cogl headers which would cause a build time error without this defined. Reviewed-by: Neil Roberts --- cogl/winsys/cogl-texture-pixmap-x11.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogl/winsys/cogl-texture-pixmap-x11.h b/cogl/winsys/cogl-texture-pixmap-x11.h index 48911a034..51385bd14 100644 --- a/cogl/winsys/cogl-texture-pixmap-x11.h +++ b/cogl/winsys/cogl-texture-pixmap-x11.h @@ -24,6 +24,8 @@ #ifndef __COGL_TEXTURE_PIXMAP_X11_H #define __COGL_TEXTURE_PIXMAP_X11_H +#define __COGL_H_INSIDE__ + #include #ifdef COGL_ENABLE_EXPERIMENTAL_API