mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
debug_counter.h must be self-contained
Include what is necessary.
This commit is contained in:
parent
b25e27277d
commit
ba78bf9778
Notes:
git
2019-12-26 20:46:09 +09:00
1 changed files with 4 additions and 0 deletions
|
@ -341,6 +341,10 @@ RB_DEBUG_COUNTER(load_path_is_not_realpath)
|
|||
#ifndef RUBY_DEBUG_COUNTER_H
|
||||
#define RUBY_DEBUG_COUNTER_H 1
|
||||
|
||||
#include "ruby/config.h"
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include "ruby/ruby.h" /* for VALUE */
|
||||
|
||||
#if !defined(__GNUC__) && USE_DEBUG_COUNTER
|
||||
#error "USE_DEBUG_COUNTER is not supported by other than __GNUC__"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue