From 9f01520e9bbdb145f9a608b502533c8ce83d3c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hillerstr=C3=B6m?= Date: Thu, 3 Mar 2022 14:23:27 +0000 Subject: [PATCH] Sync fiber_primitives.c with upstream runtime/fiber.c --- fiber_primitives.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fiber_primitives.c b/fiber_primitives.c index 4ecb5f1..5ede3e4 100644 --- a/fiber_primitives.c +++ b/fiber_primitives.c @@ -30,6 +30,12 @@ #include #endif +#ifdef USE_MMAP_MAP_STACK +#include +#endif + +#define NUM_STACK_SIZE_CLASSES 5 // defined in runtime/fiber.c + Caml_inline struct stack_info* alloc_for_stack (mlsize_t wosize) { size_t len = sizeof(struct stack_info) +