summaryrefslogtreecommitdiffstats
path: root/lib/kross/ruby/rubyscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/ruby/rubyscript.cpp')
-rw-r--r--lib/kross/ruby/rubyscript.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kross/ruby/rubyscript.cpp b/lib/kross/ruby/rubyscript.cpp
index 381785ff..889383cd 100644
--- a/lib/kross/ruby/rubyscript.cpp
+++ b/lib/kross/ruby/rubyscript.cpp
@@ -31,7 +31,9 @@
#include <rubysig.h>
#include <node.h>
#else // HAVE_RUBY_1_9
+#ifndef HAVE_RUBY_3
#include <ruby/backward/rubysig.h>
+#endif // HAVE_RUBY_3
#endif // HAVE_RUBY_1_9
#include <main/scriptcontainer.h>