1
0
Fork 0

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)
This commit is contained in:
Robert Bragg 2012-04-23 14:12:02 +01:00
parent a9d1939425
commit e58c7da9a8

View file

@ -28,6 +28,7 @@
#ifndef __COGL_TYPES_H__
#define __COGL_TYPES_H__
#include <stdint.h>
#include <glib-object.h>
#include <cogl/cogl-defines.h>