Chromium Code Reviews| Index: experimental/skpdiff/skpdiff_util.h |
| diff --git a/experimental/skpdiff/skpdiff_util.h b/experimental/skpdiff/skpdiff_util.h |
| index 93090f61632c4cb9e58f9578f981741f393e3131..9df1bc0b2a157f982dc49112d73fccee11a54f04 100644 |
| --- a/experimental/skpdiff/skpdiff_util.h |
| +++ b/experimental/skpdiff/skpdiff_util.h |
| @@ -12,7 +12,12 @@ |
| #include "SkTArray.h" |
| #if SK_SUPPORT_OPENCL |
| -#include <CL/cl.h> |
| +#if SK_BUILD_FOR_MAC |
| +# include <OpenCL/cl.h> |
| +#else |
| +# include <CL/cl.h> |
| +#endif |
| + |
| /** |
| * Converts an OpenCL error number into the string of its enumeration name. |
| * @param err The OpenCL error number |