aboutsummaryrefslogtreecommitdiff
path: root/kernel/byterun/coq_memory.c
diff options
context:
space:
mode:
authorMaxime Dénès2020-03-27 14:28:41 +0100
committerMaxime Dénès2020-03-27 14:28:41 +0100
commit16872b86cc8b0c1d639c3b59b18a8ad62591300a (patch)
tree79dcbc9cbdf1c69a0f139b68fc181e9b755e9da7 /kernel/byterun/coq_memory.c
parent0bee206916de2b321354d62e81b243eadc1530ce (diff)
parent4666a8b9596f8cb87b63c345f6e57348f0bfda6d (diff)
Merge PR #11102: Use the Alloc_small macro from the OCaml runtime rather than our own.
Ack-by: aaronpuchert Ack-by: gadmm Reviewed-by: maximedenes Ack-by: ppedrot Reviewed-by: proux01
Diffstat (limited to 'kernel/byterun/coq_memory.c')
-rw-r--r--kernel/byterun/coq_memory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/byterun/coq_memory.c b/kernel/byterun/coq_memory.c
index 91d6773b1f..6233675c66 100644
--- a/kernel/byterun/coq_memory.c
+++ b/kernel/byterun/coq_memory.c
@@ -10,9 +10,12 @@
#include <stdio.h>
#include <string.h>
+
+#define CAML_INTERNALS
#include <caml/alloc.h>
#include <caml/address_class.h>
-#include "coq_gc.h"
+#include <caml/roots.h>
+
#include "coq_instruct.h"
#include "coq_fix_code.h"
#include "coq_memory.h"