From 60e0fee6d4acff638ccc9670c4055aced529a7a0 Mon Sep 17 00:00:00 2001 From: bungeman Date: Wed, 26 Aug 2015 05:15:46 -0700 Subject: Remove include of stdlib.h from SkTypes.h. Unfortunately, immintrin.h (which is also included by SkTypes) includes xmmintrin.h which includes mm_malloc.h which includes stdlib.h for malloc even though, from the implementation, it is difficult to see why. Fortunately, arm_neon.h does not seem to be involved in such shenanigans, so building for Android will keep things sane. TBR=reed@google.com Doesn't change Skia API, just moves an include. Review URL: https://codereview.chromium.org/1313203003 --- tests/PathOpsSkpClipTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/PathOpsSkpClipTest.cpp') diff --git a/tests/PathOpsSkpClipTest.cpp b/tests/PathOpsSkpClipTest.cpp index 6f3d014a2f..95421fca30 100755 --- a/tests/PathOpsSkpClipTest.cpp +++ b/tests/PathOpsSkpClipTest.cpp @@ -32,6 +32,8 @@ #include "SkTemplates.h" #include "SkTime.h" +#include + __SK_FORCE_IMAGE_DECODER_LINKING; /* add local exceptions here */ -- cgit v1.2.3