diff --git a/internal.h b/internal.h index 8ded0e1343..92b3ba8745 100644 --- a/internal.h +++ b/internal.h @@ -1859,9 +1859,6 @@ void rb_autoload_str(VALUE mod, ID id, VALUE file); void rb_deprecate_constant(VALUE mod, const char *name); NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE)); -/* version.c */ -extern const char ruby_engine[]; - /* vm_insnhelper.h */ rb_serial_t rb_next_class_serial(void); diff --git a/ruby.c b/ruby.c index 79fb6d1635..1fd2bd715a 100644 --- a/ruby.c +++ b/ruby.c @@ -17,6 +17,7 @@ #endif #include "ruby/encoding.h" #include "ruby/thread.h" +#include "ruby/version.h" #include "internal.h" #include "eval_intern.h" #include "dln.h"