diff --git a/lang/func.c b/lang/func.c index 785d834..82bfd32 100644 --- a/lang/func.c +++ b/lang/func.c @@ -4,6 +4,7 @@ #include "bytecode.h" #include "error.h" #include "object.h" +#include "vm.h" #include static struct object_class func_class; diff --git a/lang/number.c b/lang/number.c index 72fa887..e275485 100644 --- a/lang/number.c +++ b/lang/number.c @@ -3,6 +3,7 @@ #include "error.h" #include "object.h" +#include "vm.h" #include static struct object_class num_class; diff --git a/lang/object.h b/lang/object.h index 2714f59..00db860 100644 --- a/lang/object.h +++ b/lang/object.h @@ -4,7 +4,7 @@ #ifndef OBJECT_H #define OBJECT_H -#include "vm.h" +#include "types.h" // Dispatchable object call struct object_call {