From 879cda98a4cdce91d736ea9ba81168effe090718 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Fri, 17 Feb 2023 14:14:53 +0000 Subject: Remove dependancy of vm_core.h on shape.h so that now shape can happily include gc.h --- variable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'variable.h') diff --git a/variable.h b/variable.h index 314ac82df0..5c0366de32 100644 --- a/variable.h +++ b/variable.h @@ -10,6 +10,8 @@ /* per-object */ +#include "shape.h" + struct gen_ivtbl { #if !SHAPE_IN_BASIC_FLAGS uint16_t shape_id; @@ -20,7 +22,6 @@ struct gen_ivtbl { int rb_ivar_generic_ivtbl_lookup(VALUE obj, struct gen_ivtbl **); -#include "shape.h" #if !SHAPE_IN_BASIC_FLAGS shape_id_t rb_generic_shape_id(VALUE obj); #endif -- cgit v1.2.1