From 9cf80c6b40370c2ae5b7d453a217540663f9f592 Mon Sep 17 00:00:00 2001 From: Mattias Nissler Date: Wed, 3 Feb 2016 22:20:06 +0100 Subject: [PATCH] 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 --- include/system/graphics.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/system/graphics.h b/include/system/graphics.h index cf2d7de01..ac5ae96d4 100644 --- a/include/system/graphics.h +++ b/include/system/graphics.h @@ -17,6 +17,7 @@ #ifndef SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H #define SYSTEM_CORE_INCLUDE_ANDROID_GRAPHICS_H +#include #include #ifdef __cplusplus