[Cogl] [PATCH] Include cogl-defines.h before checking COGL_HAS_ define

Robert Bragg robert at sixbynine.org
Fri May 10 14:02:18 PDT 2013


From: Robert Bragg <robert at linux.intel.com>

This makes sure we include cogl-defines.h in cogl-matrix.h before
checking if COGL_HAS_GYPE_SUPPORT is defined
---
 cogl/cogl-matrix.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cogl/cogl-matrix.h b/cogl/cogl-matrix.h
index 48da1e8..91d12a8 100644
--- a/cogl/cogl-matrix.h
+++ b/cogl/cogl-matrix.h
@@ -27,6 +27,8 @@
 #ifndef __COGL_MATRIX_H
 #define __COGL_MATRIX_H
 
+#include <cogl/cogl-defines.h>
+
 #ifdef COGL_HAS_GTYPE_SUPPORT
 #include <glib-object.h>
 #endif /* COGL_HAS_GTYPE_SUPPORT */
-- 
1.8.2.1



More information about the Cogl mailing list