diff --git a/compat/mimalloc/alloc.c b/compat/mimalloc/alloc.c index 70d74cb957..8f084d3ad3 100644 --- a/compat/mimalloc/alloc.c +++ b/compat/mimalloc/alloc.c @@ -15,10 +15,6 @@ terms of the MIT license. A copy of the license can be found in the file #include // memset, strlen #include // malloc, exit -#define MI_IN_ALLOC_C -#include "alloc-override.c" -#undef MI_IN_ALLOC_C - // ------------------------------------------------------ // Allocation // ------------------------------------------------------ diff --git a/compat/mimalloc/mimalloc.h b/compat/mimalloc/mimalloc.h index 6a6f1b373b..41ccc62d73 100644 --- a/compat/mimalloc/mimalloc.h +++ b/compat/mimalloc/mimalloc.h @@ -93,7 +93,8 @@ terms of the MIT license. A copy of the license can be found in the file // Includes // ------------------------------------------------------ -#include // size_t +#include "git-compat-util.h" + #include // bool #ifdef __cplusplus