summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-07-01 17:38:25 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-07-24 12:21:34 +0900
commit5c74f2a79bb1b184d5eea975178007e2da1816ed (patch)
tree6aec616090f08b15cff01717950214fe67b80ed7
parentf82b9d8d7b29130d27f5c13aa3bdd2ed3f9a57c8 (diff)
[ruby/json] Run `have_func` with the header providing the declarations
https://github.com/ruby/json/commit/95fb084027
-rw-r--r--ext/json/parser/extconf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/parser/extconf.rb b/ext/json/parser/extconf.rb
index feb586e1b4..4723a02aee 100644
--- a/ext/json/parser/extconf.rb
+++ b/ext/json/parser/extconf.rb
@@ -1,8 +1,8 @@
# frozen_string_literal: false
require 'mkmf'
-have_func("rb_enc_raise", "ruby.h")
-have_func("rb_enc_interned_str", "ruby.h")
+have_func("rb_enc_raise", "ruby/encoding.h")
+have_func("rb_enc_interned_str", "ruby/encoding.h")
# checking if String#-@ (str_uminus) dedupes... '
begin