From c12e1b138e736f70d698f14a3ffc74af6f3d8621 Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Tue, 27 Sep 2011 18:03:23 +0000 Subject: [PATCH] Replace SkMath.h includes as required for fixed point. git-svn-id: http://skia.googlecode.com/svn/trunk@2341 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkPoint.h | 1 + src/animator/SkScriptRuntime.cpp | 1 + src/core/SkScalar.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/include/core/SkPoint.h b/include/core/SkPoint.h index 6063a093ba..fedc404a33 100644 --- a/include/core/SkPoint.h +++ b/include/core/SkPoint.h @@ -10,6 +10,7 @@ #ifndef SkPoint_DEFINED #define SkPoint_DEFINED +#include "SkMath.h" #include "SkScalar.h" /** \struct SkIPoint diff --git a/src/animator/SkScriptRuntime.cpp b/src/animator/SkScriptRuntime.cpp index 81bbe430d6..6a96633ba1 100644 --- a/src/animator/SkScriptRuntime.cpp +++ b/src/animator/SkScriptRuntime.cpp @@ -7,6 +7,7 @@ */ #include "SkScriptRuntime.h" #include "SkScript2.h" +#include "SkMath.h" #include "SkParse.h" #include "SkScriptCallBack.h" #include "SkString.h" diff --git a/src/core/SkScalar.cpp b/src/core/SkScalar.cpp index 09eff09102..c48d3890ad 100644 --- a/src/core/SkScalar.cpp +++ b/src/core/SkScalar.cpp @@ -7,6 +7,7 @@ */ +#include "SkMath.h" #include "SkScalar.h" SkScalar SkScalarInterpFunc(SkScalar searchKey, const SkScalar keys[],