From 6769ee374840721116de407d83e18f0311e0a855 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 2 Sep 2019 13:39:31 +0000 Subject: [PATCH] OpenCL: FreeBSD build fix --- modules/core/src/opencl/runtime/opencl_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/opencl/runtime/opencl_core.cpp b/modules/core/src/opencl/runtime/opencl_core.cpp index 9885e4d647..db2385a258 100644 --- a/modules/core/src/opencl/runtime/opencl_core.cpp +++ b/modules/core/src/opencl/runtime/opencl_core.cpp @@ -155,7 +155,7 @@ static void* WinGetProcAddress(const char* name) #define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name) #endif // _WIN32 -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD__) #include #include