From f595d5b0d24d9b0323aba79ae07a6e1c9dbfbe36 Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 4 May 2003 16:03:24 +0000 Subject: * array.c (rb_ary_values_at): new method to replace select(index..). * hash.c (rb_hash_values_at,env_values_at): ditto. * re.c (match_values_at): ditto. * struct.c (rb_struct_values_at): ditto. * re.c (match_select): add iterator behavior. * ext/curses/curses.c, ext/digest/sha2/sha2.c, ext/iconv/iconv.c, ext/racc/cparse/cparse.c: include "ruby.h" at the top to shut up "_FILE_OFFSET_BITS redefined" warning on Solaris. * class.c (rb_class_protected_instance_methods): now gives warnings to show migration path. The default will be reversed on Jan 2004. * numeric.c (num_step): "1.1.step(1.5,0.1)" to work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/curses/curses.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/curses/curses.c') diff --git a/ext/curses/curses.c b/ext/curses/curses.c index a666cce897..d2263ef007 100644 --- a/ext/curses/curses.c +++ b/ext/curses/curses.c @@ -13,6 +13,8 @@ * - Takaaki Tateishi (ttate@kt.jaist.ac.jp) */ +#include "ruby.h" + #if defined(HAVE_NCURSES_H) # include #elif defined(HAVE_NCURSES_CURSES_H) @@ -46,7 +48,6 @@ #endif #include -#include "ruby.h" #include "rubyio.h" static VALUE mCurses; -- cgit v1.2.1