From c323207e8138de9efba527c9f2bcfdaaf916ca15 Mon Sep 17 00:00:00 2001 From: kallaballa Date: Wed, 19 Apr 2023 02:31:29 +0200 Subject: [PATCH] apple friendly headers --- modules/v4d/src/detail/framebuffercontext.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/v4d/src/detail/framebuffercontext.hpp b/modules/v4d/src/detail/framebuffercontext.hpp index 2f3df1ce8..d6418f99a 100644 --- a/modules/v4d/src/detail/framebuffercontext.hpp +++ b/modules/v4d/src/detail/framebuffercontext.hpp @@ -10,8 +10,11 @@ # ifndef CL_TARGET_OPENCL_VERSION # define CL_TARGET_OPENCL_VERSION 120 # endif -# include -# include +# ifdef __APPLE__ +# include +# else +# include +# endif #else # define OPENCV_V4D_ES_VERSION 3 #endif