From d45bda0bf853a18645b795e2d43c8481696bea31 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Aug 2003 16:24:42 +0000 Subject: * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standard headers are inconsistent at this macro. [ruby-core:01432] * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks. * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers winspool.h * instruby.rb: make list at first instead of iterator. [ruby-talk:79347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tcltklib/stubs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/tcltklib') diff --git a/ext/tcltklib/stubs.c b/ext/tcltklib/stubs.c index a1dd08f4a3..56cc8ca921 100644 --- a/ext/tcltklib/stubs.c +++ b/ext/tcltklib/stubs.c @@ -1,8 +1,6 @@ int ruby_tcltk_stubs(); #if defined USE_TCL_STUBS && defined USE_TK_STUBS -#include -#include #include "ruby.h" #if defined _WIN32 || defined __CYGWIN__ @@ -28,6 +26,9 @@ int ruby_tcltk_stubs(); # define TK_NAME "libtk8.9%s" #endif +#include +#include + int ruby_tcltk_stubs() { -- cgit v1.2.3