summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 9963cdec52..b8eeed23ef 100644
--- a/gc.c
+++ b/gc.c
@@ -39,6 +39,8 @@
# ifdef _WIN32
# define malloc_usable_size(a) _msize(a)
# endif
+#else
+# include <malloc.h>
#endif
#if /* is ASAN enabled? */ \