From: rmistry Date: Thu, 12 Mar 2015 14:09:25 +0000 (-0700) Subject: Add #include first in Sk4x_* files X-Git-Tag: submit/tizen/20180928.044319~3240 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f93dd488d575b5d9448228e6516cbe01c474bdf6;p=platform%2Fupstream%2FlibSkiaSharp.git Add #include first in Sk4x_* files BUG=skia:3362 Review URL: https://codereview.chromium.org/1004693002 --- diff --git a/src/core/Sk4x_neon.h b/src/core/Sk4x_neon.h index 41a30b2e47..2851fb31a4 100644 --- a/src/core/Sk4x_neon.h +++ b/src/core/Sk4x_neon.h @@ -1,6 +1,8 @@ // It is important _not_ to put header guards here. // This file will be intentionally included three times. +#include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362 + #if defined(SK4X_PREAMBLE) #include diff --git a/src/core/Sk4x_portable.h b/src/core/Sk4x_portable.h index 440e91faaa..3b7ad46e73 100644 --- a/src/core/Sk4x_portable.h +++ b/src/core/Sk4x_portable.h @@ -1,6 +1,8 @@ // It is important _not_ to put header guards here. // This file will be intentionally included three times. +#include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362 + #if defined(SK4X_PREAMBLE) #include "SkFloatingPoint.h" #include diff --git a/src/core/Sk4x_sse.h b/src/core/Sk4x_sse.h index 6077d0273d..ab6876dfd7 100644 --- a/src/core/Sk4x_sse.h +++ b/src/core/Sk4x_sse.h @@ -4,6 +4,8 @@ // Useful reading: // https://software.intel.com/sites/landingpage/IntrinsicsGuide/ +#include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362 + #if defined(SK4X_PREAMBLE) // Code in this file may assume SSE and SSE2. #include