aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r--src/core/SkPath.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index d80ceeefe2..e38d736294 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -5,7 +5,8 @@
* found in the LICENSE file.
*/
-#include <cmath>
+#include "SkPath.h"
+
#include "SkBuffer.h"
#include "SkCubicClipper.h"
#include "SkData.h"
@@ -18,6 +19,9 @@
#include "SkPointPriv.h"
#include "SkRRect.h"
#include "SkSafeMath.h"
+#include "SkTo.h"
+
+#include <cmath>
static float poly_eval(float A, float B, float C, float t) {
return (A * t + B) * t + C;