[cogl/wip/rib/cogl-1.12: 12/101] build: Include stdint.h



commit 13ca538a1a9023c7edda04c57534becaea7231a7
Author: Robert Bragg <robert linux intel com>
Date:   Mon Apr 23 14:12:02 2012 +0100

    build: Include stdint.h
    
    Since 5967dad2400d32c we have stopped using glib types such as guint16
    and guint32 in favour of the equivalent c99 types such as uint16_t and
    uint32_t. When that patch was tested we must have used a configuration
    that just happened to include <stdint.h> because we have since seen that
    builds can fail due to missing c99 typedefs. This patch explicitly
    includes stdint.h in cogl-types.h.
    
    Reviewed-by: Neil Roberts <neil linux intel com>
    
    (cherry picked from commit c1e2220a4314071482d2d5638688b6bcf83882a2)

 cogl/cogl-types.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-types.h b/cogl/cogl-types.h
index adc2d6c..d3a0724 100644
--- a/cogl/cogl-types.h
+++ b/cogl/cogl-types.h
@@ -28,6 +28,7 @@
 #ifndef __COGL_TYPES_H__
 #define __COGL_TYPES_H__
 
+#include <stdint.h>
 #include <glib-object.h>
 
 #include <cogl/cogl-defines.h>



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