aboutsummaryrefslogtreecommitdiffstats
path: root/io.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 /io.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 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index a6a7dd3f82..294abfe6b0 100644
--- a/io.c
+++ b/io.c
@@ -127,6 +127,7 @@
#include "ccan/list/list.h"
#include "internal/thread.h"
#include "internal/transcode.h"
+#include "internal/variable.h"
#include "ruby/io.h"
#include "ruby/thread.h"
#include "ruby/util.h"