diff options
author | Zan Dobersek <zandobersek@gmail.com> | 2011-10-17 18:55:35 +0200 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-11-01 15:55:53 +0000 |
commit | d8c47e25f2af58ee3be6d4df9d96b1729b8f590c (patch) | |
tree | 3f4feb528018bfa2da5c9beaa9e23d234d6c2ff9 /cogl/cogl-renderer.c | |
parent | 5f7cdfed69b97c896f740a03e447f8de907e3e96 (diff) | |
download | cogl-d8c47e25f2af58ee3be6d4df9d96b1729b8f590c.tar.gz |
Remove inclusion of Xlib headers in Cogl headers
Xlib headers define many trivially named objects which can later cause
name collision problems when only cogl.h header is included in a program
or library. Xlib headers are now only included through including the
standalone header cogl-xlib.h.
https://bugzilla.gnome.org/show_bug.cgi?id=661174
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-renderer.c')
-rw-r--r-- | cogl/cogl-renderer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c index 5cc6ed99..54b8599f 100644 --- a/cogl/cogl-renderer.c +++ b/cogl/cogl-renderer.c @@ -45,6 +45,7 @@ #include "cogl-winsys-stub-private.h" #include "cogl-winsys-egl-private.h" #include "cogl-config-private.h" +#include "cogl-xlib-renderer.h" #ifdef COGL_HAS_GLX_SUPPORT extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void); |