Skip to content

Commit

Permalink
Sync fiber_primitives.c with upstream runtime/fiber.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dhil committed Mar 3, 2022
1 parent 22322e9 commit 9f01520
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fiber_primitives.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
#include <caml/frame_descriptors.h>
#endif

#ifdef USE_MMAP_MAP_STACK
#include <sys/mman.h>
#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) +
Expand Down

0 comments on commit 9f01520

Please sign in to comment.