Index: experimental/skpdiff/SkCLImageDiffer.h |
diff --git a/experimental/skpdiff/SkCLImageDiffer.h b/experimental/skpdiff/SkCLImageDiffer.h |
index 50cf3897d21bf23683a363888c6fcd61e93cd1dc..032ee6f9908bd00980109a36993cc0bc8c9ea300 100644 |
--- a/experimental/skpdiff/SkCLImageDiffer.h |
+++ b/experimental/skpdiff/SkCLImageDiffer.h |
@@ -8,7 +8,11 @@ |
#ifndef SkCLImageDiffer_DEFINED |
#define SkCLImageDiffer_DEFINED |
-#include <CL/cl.h> |
+#if SK_BUILD_FOR_MAC |
+# include <OpenCL/cl.h> |
+#else |
+# include <CL/cl.h> |
+#endif |
#include "SkTDArray.h" |
#include "SkImageDiffer.h" |