Chromium Code Reviews| Index: include/private/SkFloatingPoint.h |
| diff --git a/include/private/SkFloatingPoint.h b/include/private/SkFloatingPoint.h |
| index 6ed6144d184b3bc5673eb457897b9d195d25e85e..a7aa50cf9f061ca307a015d981de790b726f28d0 100644 |
| --- a/include/private/SkFloatingPoint.h |
| +++ b/include/private/SkFloatingPoint.h |
| @@ -15,6 +15,12 @@ |
| #include <math.h> |
| #include <float.h> |
| +#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1 |
| + #include <xmmintrin.h> |
| +#elif defined(SK_ARM_HAS_NEON) |
| + #include <arm_neon.h> |
| +#endif |
| + |
| // For _POSIX_VERSION |
| #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) |
| #include <unistd.h> |