diff --git a/numba_dppy/dpctl_iface/usm_shared_allocator_ext.c b/numba_dppy/dpctl_iface/usm_shared_allocator_ext.c index 33cf07048f..3caad3914a 100644 --- a/numba_dppy/dpctl_iface/usm_shared_allocator_ext.c +++ b/numba_dppy/dpctl_iface/usm_shared_allocator_ext.c @@ -27,9 +27,19 @@ #include "assert.h" #include #include -#include -#include -#include +#if defined __has_include +# if __has_include() +# include +# else +# include +# include +# include +# endif +#else +# include +# include +# include +#endif NRT_ExternalAllocator usmarray_allocator; NRT_external_malloc_func internal_allocator = NULL;