aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-01-09 23:52:01 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-01-09 23:57:46 +0900
commitc6b26f5ccf9296f7fbb23c055401c4f55d32efa0 (patch)
tree6407a42d7705bf68cee393d926b758b4cd55a6de /ruby.c
parent4c5eac73238a203830d43bccf22eee27d242616f (diff)
downloadruby-c6b26f5ccf9296f7fbb23c055401c4f55d32efa0.tar.gz
io.c, ruby.c: include internal/variable.h for rb_gvar_readonly_setter
Same as 053f78e13988e9253d1f207bf5e23d9505112b32. emscripten requires a prototype declaration of rb_gvar_readonly_setter if it is refered as a function pointer.
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 2d1a437e7d..509ba61352 100644
--- a/ruby.c
+++ b/ruby.c
@@ -56,6 +56,7 @@
#include "internal/missing.h"
#include "internal/object.h"
#include "internal/parse.h"
+#include "internal/variable.h"
#include "mjit.h"
#include "ruby/encoding.h"
#include "ruby/thread.h"