From 7a828b0a8079c335385a2b0aa235d39350919ab6 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 2 Oct 2023 06:29:08 -0400 Subject: [PATCH] enable OpenCL build (https://github.com/ImageMagick/ImageMagick6/issues/275) --- magick/opencl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/magick/opencl.c b/magick/opencl.c index 0151e7b2f..e80b7043b 100644 --- a/magick/opencl.c +++ b/magick/opencl.c @@ -86,11 +86,15 @@ #include "magick/utility.h" #include "magick/utility-private.h" +#if defined(MAGICKCORE_OPENCL_SUPPORT) +#if defined(MAGICKCORE_LTDL_DELEGATE) +#include "ltdl.h" +#endif + #ifdef MAGICKCORE_CLPERFMARKER #include "CLPerfMarker.h" #endif - #if defined(MAGICKCORE_OPENCL_SUPPORT) #define NUM_CL_RAND_GENERATORS 1024 /* number of random number generators running in parallel */