summaryrefslogtreecommitdiff
path: root/src/allocators
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-05-12 13:21:26 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-10-11 14:42:19 +0100
commit521aa8c1c04c25a57b82e1279a4e91d8a07436aa (patch)
treecc717e7a2abc6a01fdbf06e36d4888a0df8d7921 /src/allocators
parentfe12423a91015e6116773340a8936fece3251339 (diff)
downloadlibgit2-521aa8c1c04c25a57b82e1279a4e91d8a07436aa.tar.gz
win32: teach the allocator to deal with crtdbg
Move the MSVC C runtime debugging bits into the allocator's global init function.
Diffstat (limited to 'src/allocators')
-rw-r--r--src/allocators/win32_crtdbg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/allocators/win32_crtdbg.c b/src/allocators/win32_crtdbg.c
index 1187e2fcd..c726268a8 100644
--- a/src/allocators/win32_crtdbg.c
+++ b/src/allocators/win32_crtdbg.c
@@ -9,6 +9,7 @@
#if defined(GIT_MSVC_CRTDBG)
+#include "win32/w32_stack.h"
#include "win32/w32_crtdbg_stacktrace.h"
static void *crtdbg__malloc(size_t len, const char *file, int line)