From 146c9b2bc6de247ec0c0310c8ccb71459a102c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 20 Jun 2024 15:34:09 +0800 Subject: [PATCH] OpenCL: fix building when OpenCL is disabled --- src/detection/opencl/opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/opencl/opencl.c b/src/detection/opencl/opencl.c index 01c8a4c09..83d287afd 100644 --- a/src/detection/opencl/opencl.c +++ b/src/detection/opencl/opencl.c @@ -1,4 +1,5 @@ #include "detection/opencl/opencl.h" +#include "detection/gpu/gpu.h" #if !defined(FF_HAVE_OPENCL) && defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_15) #define FF_HAVE_OPENCL 1 @@ -8,7 +9,6 @@ #include "common/library.h" #include "common/parsing.h" -#include "detection/gpu/gpu.h" #include "util/stringUtils.h" #include