summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_core.h b/vm_core.h
index 130f6c2b28..9476284081 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -17,7 +17,7 @@
#include <setjmp.h>
#include "ruby/ruby.h"
-#include "ruby/mvm.h"
+#include "ruby/vm.h"
#include "ruby/st.h"
#include "ruby/node.h"
@@ -402,7 +402,7 @@ struct rb_unblock_callback {
struct rb_mutex_struct;
-struct rb_thread_struct
+typedef struct rb_thread_struct
{
VALUE self;
rb_vm_t *vm;
@@ -501,7 +501,7 @@ struct rb_thread_struct
/* misc */
int method_missing_reason;
int abort_on_exception;
-};
+} rb_thread_t;
/* iseq.c */
VALUE rb_iseq_new(NODE*, VALUE, VALUE, VALUE, VALUE);