From 476e6c9a7f4c65dc3bb86ba6eaf99b0cf552d690 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Fri, 30 Sep 2016 15:26:47 -0400 Subject: [PATCH] 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 Commit-Queue: Mike Reed --- samplecode/SampleApp.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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"