# include <arm/limits.h>
#endif
+#if defined(HAVE_CL_CL_H)
+# include <CL/cl.h>
+# define MAGICKCORE_OPENCL_SUPPORT 1
+#endif
+
+#if defined(HAVE_OPENCL_CL_H)
+# include <OpenCL/cl.h>
+# define MAGICKCORE_OPENCL_SUPPORT 1
+#endif
+
#if defined(_OPENMP) && (_OPENMP >= 200203)
# include <omp.h>
#endif
# include <arm/limits.h>
#endif
+#if defined(HAVE_CL_CL_H)
+# include <CL/cl.h>
+# define MAGICKCORE_OPENCL_SUPPORT 1
+#endif
+
+#if defined(HAVE_OPENCL_CL_H)
+# include <OpenCL/cl.h>
+# define MAGICKCORE_OPENCL_SUPPORT 1
+#endif
+
#if defined(_OPENMP) && (_OPENMP >= 200203)
# include <omp.h>
#endif