commit | 290b23a1e11d532b39098bb58693ef97ba98a622 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Nov 05 14:10:47 2015 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Nov 05 22:15:18 2015 +0000 |
tree | 45a80e36c460d98c7df89a8e6a8e871ed4ea22ee | |
parent | 374745095659d378164bfee4c7f5c9299c47a814 [diff] [blame] |
Fix build std::abs requires <cstdlib> Change-Id: I0722340d17aed88c4c8dabcb723d432b05cebedb
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index b6fecb4..1b89960 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -44,6 +44,8 @@ #include <fcntl.h> #include <sys/stat.h> +#include <cstdlib> + #define TRIM_MEMORY_COMPLETE 80 #define TRIM_MEMORY_UI_HIDDEN 20