[cogl/cogl-1.14] Include cogl-defines.h before checking COGL_HAS_ define



commit 8bafca4321552ba0c0a6403c5b733683a6f91b10
Author: Robert Bragg <robert linux intel com>
Date:   Sun Apr 28 16:49:12 2013 +0100

    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)

 cogl/cogl-matrix.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-matrix.h b/cogl/cogl-matrix.h
index 90f3ea9..a136ea0 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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]