diff --git a/compat/mimalloc/alloc.c b/compat/mimalloc/alloc.c index c0ada97c90..cd711e73f5 100644 --- a/compat/mimalloc/alloc.c +++ b/compat/mimalloc/alloc.c @@ -17,6 +17,7 @@ terms of the MIT license. A copy of the license can be found in the file #include // malloc, abort #define MI_IN_ALLOC_C +#include "alloc-override.c" #include "free.c" #undef MI_IN_ALLOC_C diff --git a/compat/mimalloc/mimalloc.h b/compat/mimalloc/mimalloc.h index 6a926d1c80..174d9a34c9 100644 --- a/compat/mimalloc/mimalloc.h +++ b/compat/mimalloc/mimalloc.h @@ -95,8 +95,7 @@ terms of the MIT license. A copy of the license can be found in the file // Includes // ------------------------------------------------------ -#include "compat/posix.h" - +#include // size_t #include // bool #include // INTPTR_MAX