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:
parent
a9d1939425
commit
e58c7da9a8
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
#ifndef __COGL_TYPES_H__
|
||||
#define __COGL_TYPES_H__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
#include <cogl/cogl-defines.h>
|
||||
|
|
Loading…
Reference in a new issue