Add #include first in Sk4x_* files
authorrmistry <rmistry@google.com>
Thu, 12 Mar 2015 14:09:25 +0000 (07:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Mar 2015 14:09:25 +0000 (07:09 -0700)
BUG=skia:3362

Review URL: https://codereview.chromium.org/1004693002

src/core/Sk4x_neon.h
src/core/Sk4x_portable.h
src/core/Sk4x_sse.h

index 41a30b2e47cab5b8c0aca002de76cde1936e729b..2851fb31a4e7525f6885d89a2410fde3fa05018d 100644 (file)
@@ -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 <arm_neon.h>
 
index 440e91faaa581b87a0d5441256bc62c0fe88538f..3b7ad46e738f324c07fa41b848f44803cfb97cdb 100644 (file)
@@ -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 <math.h>
index 6077d0273d19d0244559c1fed93f381d290de086..ab6876dfd7c812d1fb56f5eb5b9585558b917b5d 100644 (file)
@@ -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 <emmintrin.h>