summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/tk/extconf.rb2
-rw-r--r--ext/tk/tcltklib.c3
-rw-r--r--ext/tk/tkutil/tkutil.c3
3 files changed, 3 insertions, 5 deletions
diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb
index 7762b2a060..ec0a12eac2 100644
--- a/ext/tk/extconf.rb
+++ b/ext/tk/extconf.rb
@@ -5,7 +5,7 @@ require 'mkmf'
is_win32 = (/mswin|mingw|cygwin|bccwin|wince/ =~ RUBY_PLATFORM)
#is_macosx = (/darwin/ =~ RUBY_PLATFORM)
-have_header("ruby/ruby.h")
+have_header("ruby/signal.h")
have_header("ruby/encoding.h")
have_func("ruby_native_thread_p", "ruby.h")
have_func("rb_errinfo", "ruby.h")
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c
index 9e14fc4f89..db31846e61 100644
--- a/ext/tk/tcltklib.c
+++ b/ext/tk/tcltklib.c
@@ -8,8 +8,7 @@
#include "ruby.h"
-#ifdef HAVE_RUBY_RUBY_H
-/* #include "ruby/ruby.h" */
+#ifdef HAVE_RUBY_SIGNAL_H
#include "ruby/signal.h"
#ifdef HAVE_RUBY_ENCODING_H
#include "ruby/encoding.h"
diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c
index fb07efbc03..98197ee7b8 100644
--- a/ext/tk/tkutil/tkutil.c
+++ b/ext/tk/tkutil/tkutil.c
@@ -11,8 +11,7 @@
#include "ruby.h"
-#ifdef HAVE_RUBY_RUBY_H
-/* #include "ruby/ruby.h" */
+#ifdef HAVE_RUBY_SIGNAL_H
#include "ruby/signal.h"
#include "ruby/st.h"
#else