graphics: Include stddef.h for size_t.

graphics.h uses size_t, but doesn't pull in a declaration. This results
in compile errors if code that includes graphics.h (such as
hardware/hardware.h) doesn't happen to have a size_t declaration from
elsewhere.

Change-Id: I0f3882c3dce20425697d25366d49930b2251ef7f
This commit is contained in:
Mattias Nissler 2016-02-03 22:20:06 +01:00
parent af86f6e093
commit 9cf80c6b40
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#ifndef SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H
#define SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus