summaryrefslogtreecommitdiffstats
path: root/gfx/skia
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/skia')
-rw-r--r--gfx/skia/skia/src/core/SkMath.cpp1
-rw-r--r--gfx/skia/skia/src/core/SkSafeMath.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/gfx/skia/skia/src/core/SkMath.cpp b/gfx/skia/skia/src/core/SkMath.cpp
index 84796c522..bf9a73da8 100644
--- a/gfx/skia/skia/src/core/SkMath.cpp
+++ b/gfx/skia/skia/src/core/SkMath.cpp
@@ -6,6 +6,7 @@
*/
#include "SkMathPriv.h"
+#include "SkSafeMath.h"
#include "SkFixed.h"
#include "SkFloatBits.h"
#include "SkFloatingPoint.h"
diff --git a/gfx/skia/skia/src/core/SkSafeMath.h b/gfx/skia/skia/src/core/SkSafeMath.h
index 0bc0fbfac..f54be32fc 100644
--- a/gfx/skia/skia/src/core/SkSafeMath.h
+++ b/gfx/skia/skia/src/core/SkSafeMath.h
@@ -9,6 +9,7 @@
#define SkSafeMath_DEFINED
#include "SkTypes.h"
+#include <limits>
// SkSafeMath always check that a series of operations do not overflow.
// This must be correct for all platforms, because this is a check for safety at runtime.