aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTypes.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-08-26 05:15:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-26 05:15:46 -0700
commit60e0fee6d4acff638ccc9670c4055aced529a7a0 (patch)
tree8f73b02cd0bfbb7d6d64982ed4ebd8776d4a5a28 /include/core/SkTypes.h
parent8d624bd44ef9e6d4ab7b768c4cbaa41cba830eda (diff)
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
Diffstat (limited to 'include/core/SkTypes.h')
-rw-r--r--include/core/SkTypes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 8eeffb5894..45a5a8a376 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -23,7 +23,6 @@
#endif
// IWYU pragma: end_exports
-#include <stdlib.h>
#include <string.h>
/** \file SkTypes.h