aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSafeMath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkSafeMath.h')
-rw-r--r--src/core/SkSafeMath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkSafeMath.h b/src/core/SkSafeMath.h
index 0bc0fbfac4..f54be32fce 100644
--- a/src/core/SkSafeMath.h
+++ b/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.