aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/SkEventTracer.cpp2
-rw-r--r--src/utils/SkParse.cpp2
-rw-r--r--src/utils/SkRTConf.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/SkEventTracer.cpp b/src/utils/SkEventTracer.cpp
index d9f925852e..6176e1c44b 100644
--- a/src/utils/SkEventTracer.cpp
+++ b/src/utils/SkEventTracer.cpp
@@ -9,6 +9,8 @@
#include "SkEventTracer.h"
#include "SkLazyPtr.h"
+#include <stdlib.h>
+
class SkDefaultEventTracer : public SkEventTracer {
SkEventTracer::Handle
addTraceEvent(char phase,
diff --git a/src/utils/SkParse.cpp b/src/utils/SkParse.cpp
index f6e2a438e8..446f9d444a 100644
--- a/src/utils/SkParse.cpp
+++ b/src/utils/SkParse.cpp
@@ -9,6 +9,8 @@
#include "SkParse.h"
+#include <stdlib.h>
+
static inline bool is_between(int c, int min, int max)
{
return (unsigned)(c - min) <= (unsigned)(max - min);
diff --git a/src/utils/SkRTConf.cpp b/src/utils/SkRTConf.cpp
index 20b8b43b89..5c99d2706c 100644
--- a/src/utils/SkRTConf.cpp
+++ b/src/utils/SkRTConf.cpp
@@ -8,6 +8,8 @@
#include "SkRTConf.h"
#include "SkOSFile.h"
+#include <stdlib.h>
+
SkRTConfRegistry::SkRTConfRegistry(): fConfs(100) {
SkFILE *fp = sk_fopen(configFileLocation(), kRead_SkFILE_Flag);