diff --git a/magick/opencl.c b/magick/opencl.c index e80b7043b..b84909dff 100644 --- a/magick/opencl.c +++ b/magick/opencl.c @@ -86,17 +86,16 @@ #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) +#if defined(MAGICKCORE_LTDL_DELEGATE) +#include "ltdl.h" +#endif + #define NUM_CL_RAND_GENERATORS 1024 /* number of random number generators running in parallel */ #define PROFILE_OCL_KERNELS 0