mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
hash.c: gc.h is needed when HASH_DEBUG mode
This commit is contained in:
parent
0cf6bfca78
commit
3229e0583f
1 changed files with 4 additions and 0 deletions
4
hash.c
4
hash.c
|
@ -34,6 +34,10 @@
|
|||
#define HASH_DEBUG 0
|
||||
#endif
|
||||
|
||||
#if HASH_DEBUG
|
||||
#include "gc.h"
|
||||
#endif
|
||||
|
||||
#define HAS_EXTRA_STATES(hash, klass) ( \
|
||||
((klass = has_extra_methods(rb_obj_class(hash))) != 0) || \
|
||||
FL_TEST((hash), FL_EXIVAR|FL_TAINT|RHASH_PROC_DEFAULT) || \
|
||||
|
|
Loading…
Reference in a new issue