Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: src/core/Sk4x_sse.h

Issue 1004693002: Add #include first in Sk4x_* files (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/Sk4x_portable.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk4x_sse.h
diff --git a/src/core/Sk4x_sse.h b/src/core/Sk4x_sse.h
index 6077d0273d19d0244559c1fed93f381d290de086..ab6876dfd7c812d1fb56f5eb5b9585558b917b5d 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 <emmintrin.h>
« no previous file with comments | « src/core/Sk4x_portable.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698