diff --git a/tests/offload_utils.hpp b/tests/offload_utils.hpp index a71ae060..a986aa65 100644 --- a/tests/offload_utils.hpp +++ b/tests/offload_utils.hpp @@ -15,7 +15,11 @@ //@HEADER #ifdef _MDSPAN_HAS_SYCL +#if __has_include() #include +#else +#include +#endif #endif #ifdef _MDSPAN_HAS_HIP