1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

io.c, ruby.c: include internal/variable.h for rb_gvar_readonly_setter

Same as 053f78e139.
emscripten requires a prototype declaration of rb_gvar_readonly_setter
if it is refered as a function pointer.
This commit is contained in:
Yusuke Endoh 2020-01-09 23:52:01 +09:00
parent 4c5eac7323
commit c6b26f5ccf
2 changed files with 2 additions and 0 deletions

1
io.c
View file

@ -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"

1
ruby.c
View file

@ -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"