Include cogl-defines.h before checking COGL_HAS_ define

This makes sure we include cogl-defines.h in cogl-matrix.h before
checking if COGL_HAS_GYPE_SUPPORT is defined

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit aa5ba324bb3b2ce77be29942f8716d61919cefeb)
This commit is contained in:
Robert Bragg 2013-04-28 16:49:12 +01:00
parent f7c3c2dc95
commit 74b8cc3acb

View File

@ -27,6 +27,8 @@
#ifndef __COGL_MATRIX_H #ifndef __COGL_MATRIX_H
#define __COGL_MATRIX_H #define __COGL_MATRIX_H
#include <cogl/cogl-defines.h>
#ifdef COGL_HAS_GTYPE_SUPPORT #ifdef COGL_HAS_GTYPE_SUPPORT
#include <glib-object.h> #include <glib-object.h>
#endif /* COGL_HAS_GTYPE_SUPPORT */ #endif /* COGL_HAS_GTYPE_SUPPORT */