aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkTypes.h2
-rw-r--r--include/private/SkPathRef.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 06e101efbf..7945e12426 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -248,6 +248,8 @@ typedef uint32_t SkMSec;
*/
#ifdef __cplusplus
+#include <utility>
+
/** Generic swap function. Classes with efficient swaps should specialize this function to take
their fast path. This function is used by SkTSort. */
template <typename T> static inline void SkTSwap(T& a, T& b) {
diff --git a/include/private/SkPathRef.h b/include/private/SkPathRef.h
index 9ce1aeef2c..d9c8849334 100644
--- a/include/private/SkPathRef.h
+++ b/include/private/SkPathRef.h
@@ -17,6 +17,7 @@
#include "SkRect.h"
#include "SkRefCnt.h"
#include "SkTemplates.h"
+#include <limits>
class SkRBuffer;
class SkWBuffer;