aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSafeMath.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-06-11 11:56:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-11 19:40:44 +0000
commitbf45c706396041f038656da7560edd24cd1a6cda (patch)
treee0b929bcdea93b30c57f6189d4ab0908135c246f /src/core/SkSafeMath.h
parent7d10ed0c91754225eabde47b4d95bf0295fcaed0 (diff)
Clean up a few IWYU issues
Spun off from the SkTFitsIn CL. Change-Id: I686d680df6a36ebc02db3847ad5e2cedcbcd67ef Reviewed-on: https://skia-review.googlesource.com/134083 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
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.