From e58be56584c7510639c55bb20f3000bd9b796284 Mon Sep 17 00:00:00 2001 From: François Andriot Date: Mon, 10 May 2021 20:19:48 +0200 Subject: Fix build on Fedora 34 / Ruby 3.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- lib/kross/ruby/rubyscript.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/kross/ruby/rubyscript.cpp') diff --git a/lib/kross/ruby/rubyscript.cpp b/lib/kross/ruby/rubyscript.cpp index 381785ff5..889383cd1 100644 --- a/lib/kross/ruby/rubyscript.cpp +++ b/lib/kross/ruby/rubyscript.cpp @@ -31,7 +31,9 @@ #include #include #else // HAVE_RUBY_1_9 +#ifndef HAVE_RUBY_3 #include +#endif // HAVE_RUBY_3 #endif // HAVE_RUBY_1_9 #include
-- cgit v1.2.3