ruby-changes:14046
From: usa <ko1@a...>
Date: Thu, 19 Nov 2009 20:44:44 +0900 (JST)
Subject: [ruby-changes:14046] Ruby:r25857 (trunk): * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros.
usa 2009-11-19 20:44:29 +0900 (Thu, 19 Nov 2009) New Revision: 25857 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25857 Log: * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros. reported by Kenta Murata <mrkn AT mrkn.jp> via IRC. Modified files: trunk/ChangeLog trunk/ext/socket/getnameinfo.c Index: ChangeLog =================================================================== --- ChangeLog (revision 25856) +++ ChangeLog (revision 25857) @@ -1,3 +1,8 @@ +Thu Nov 19 20:43:39 2009 NAKAMURA Usaku <usa@r...> + + * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros. + reported by Kenta Murata <mrkn AT mrkn.jp> via IRC. + Thu Nov 19 17:00:59 2009 NAKAMURA Usaku <usa@r...> * win32/Makefile.sub: nmake execute the file named echo if it exists Index: ext/socket/getnameinfo.c =================================================================== --- ext/socket/getnameinfo.c (revision 25856) +++ ext/socket/getnameinfo.c (revision 25857) @@ -35,6 +35,9 @@ */ #include "ruby/config.h" +#ifdef RUBY_EXTCONF_H +#include RUBY_EXTCONF_H +#endif #include <stdio.h> #include <sys/types.h> #ifndef _WIN32 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/