diff --git a/docs/examples/convex_overstroke_linear_approx_curve.cpp b/docs/examples/convex_overstroke_linear_approx_curve.cpp index 91516b0aec..1db30de71e 100644 --- a/docs/examples/convex_overstroke_linear_approx_curve.cpp +++ b/docs/examples/convex_overstroke_linear_approx_curve.cpp @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" REG_FIDDLE(convex_overstroke_linear_approx_curve, 256, 256, false, 0) { -#include "math.h" +#include void draw(SkCanvas* canvas) { const float SCALE = 1; diff --git a/src/sksl/SkSLUtil.h b/src/sksl/SkSLUtil.h index 3b9e3936a7..c974ca8025 100644 --- a/src/sksl/SkSLUtil.h +++ b/src/sksl/SkSLUtil.h @@ -10,8 +10,8 @@ #include #include -#include "stdlib.h" -#include "string.h" +#include +#include #include "include/private/SkSLDefines.h" #include "src/sksl/SkSLGLSL.h" #include "src/sksl/SkSLLexer.h" diff --git a/src/sksl/dsl/DSLExpression.cpp b/src/sksl/dsl/DSLExpression.cpp index e084accb3c..ff0f90387a 100644 --- a/src/sksl/dsl/DSLExpression.cpp +++ b/src/sksl/dsl/DSLExpression.cpp @@ -21,7 +21,7 @@ #include "src/sksl/ir/SkSLPostfixExpression.h" #include "src/sksl/ir/SkSLPrefixExpression.h" -#include "math.h" +#include #if !defined(SKSL_STANDALONE) && SK_SUPPORT_GPU #include "src/gpu/glsl/GrGLSLFragmentShaderBuilder.h"