aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-09-30 15:26:47 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-09-30 19:47:28 +0000
commit476e6c9a7f4c65dc3bb86ba6eaf99b0cf552d690 (patch)
tree60355819df2f59e470333dd9d8d1c666675514d2 /samplecode
parent71df2d7bc1bbc83ad4cf005f9027df4cb3b88a9b (diff)
fix mac build
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2852 Change-Id: I58ba4c8be14b5a40ae94a1f8e69a3c1aa08060d5 Reviewed-on: https://skia-review.googlesource.com/2852 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleApp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 1805ca7e5a..233306c767 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -37,6 +37,10 @@
#include "SkReadBuffer.h"
#include "SkStream.h"
+#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
+#include "SkCGUtils.h"
+#endif
+
#if SK_SUPPORT_GPU
# include "gl/GrGLInterface.h"
# include "gl/GrGLUtil.h"