summaryrefslogtreecommitdiff
path: root/mjit.h
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mjit.h b/mjit.h
index 256bf65a29..44cb6571b7 100644
--- a/mjit.h
+++ b/mjit.h
@@ -9,11 +9,14 @@
#ifndef RUBY_MJIT_H
#define RUBY_MJIT_H 1
-#include "ruby.h"
-#include "debug_counter.h"
+#include "ruby/config.h"
#if USE_MJIT
+#include "debug_counter.h"
+#include "ruby.h"
+#include "vm_core.h"
+
// Special address values of a function generated from the
// corresponding iseq by MJIT:
enum rb_mjit_iseq_func {