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
@ -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…
x
Reference in New Issue
Block a user