diff --git a/regint.h b/regint.h index 861e13e27d..63d9a12a2d 100644 --- a/regint.h +++ b/regint.h @@ -813,7 +813,7 @@ extern int onig_is_code_in_cc_len P_((int enclen, OnigCodePoint code, CClassNod /* strend hash */ typedef void hash_table_type; #ifdef RUBY -#include +#include "ruby/st.h" typedef st_data_t hash_data_type; #else typedef unsigned long hash_data_type;