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:
parent
4c5eac7323
commit
c6b26f5ccf
2 changed files with 2 additions and 0 deletions
1
io.c
1
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"
|
||||
|
|
1
ruby.c
1
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"
|
||||
|
|
Loading…
Reference in a new issue