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 <neil@linux.intel.com>
This commit is contained in:
parent
9c58d6c4e7
commit
1022c285c6
@ -24,6 +24,8 @@
|
||||
#ifndef __COGL_TEXTURE_PIXMAP_X11_H
|
||||
#define __COGL_TEXTURE_PIXMAP_X11_H
|
||||
|
||||
#define __COGL_H_INSIDE__
|
||||
|
||||
#include <cogl/cogl.h>
|
||||
|
||||
#ifdef COGL_ENABLE_EXPERIMENTAL_API
|
||||
|
Loading…
Reference in New Issue
Block a user