diff --git a/tooling/internal/cpp/include/detail/ndarray/impl.h b/tooling/internal/cpp/include/detail/ndarray/impl.h index 53a966be..1c501a6c 100644 --- a/tooling/internal/cpp/include/detail/ndarray/impl.h +++ b/tooling/internal/cpp/include/detail/ndarray/impl.h @@ -2,10 +2,22 @@ #include +#ifndef XTENSOR_VERSION_MAJOR +// need to include this for version info +# include +#endif + +#if XTENSOR_VERSION_MAJOR == 0 && XTENSOR_VERSION_MINOR < 26 #include #include #include #include +#else +#include +#include +#include +#include +#endif namespace yardl {