diff --git a/dpnp/backend/src/queue_sycl.hpp b/dpnp/backend/src/queue_sycl.hpp index 0ffe1295f573..ffa06b87a9db 100644 --- a/dpnp/backend/src/queue_sycl.hpp +++ b/dpnp/backend/src/queue_sycl.hpp @@ -41,7 +41,13 @@ #include #if !defined(DPNP_LOCAL_QUEUE) -#include +# if defined __has_include +# if __has_include() +# include +# else +# include +# endif +# endif #endif #include "dpnp_pstl.hpp" // this header must be included after