diff --git a/include/mimalloc.h b/include/mimalloc.h index e6693899..dfef2c69 100644 --- a/include/mimalloc.h +++ b/include/mimalloc.h @@ -487,6 +487,7 @@ template bool operator!=(const mi_stl_allocator& , const #define MI_HAS_HEAP_STL_ALLOCATOR 1 #include // std::shared_ptr +#include "mimalloc/types.h" // Common base class for STL allocators in a specific heap template struct _mi_heap_stl_allocator_common : public _mi_stl_allocator_common {