ruby-changes:10004
From: yugui <ko1@a...>
Date: Fri, 16 Jan 2009 00:37:20 +0900 (JST)
Subject: [ruby-changes:10004] Ruby:r21545 (ruby_1_9_1): merges r21484 from trunk into ruby_1_9_1.
yugui 2009-01-16 00:36:48 +0900 (Fri, 16 Jan 2009) New Revision: 21545 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21545 Log: merges r21484 from trunk into ruby_1_9_1. * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h on Windows. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/ext/socket/getaddrinfo.c branches/ruby_1_9_1/ext/socket/getnameinfo.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 21544) +++ ruby_1_9_1/ChangeLog (revision 21545) @@ -1,3 +1,8 @@ +Tue Jan 13 12:10:42 2009 NAKAMURA Usaku <usa@r...> + + * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h + on Windows. + Tue Jan 13 03:07:28 2009 NAKAMURA Usaku <usa@r...> * instruby.rb: require "tool/mdoc2man.rb" before chdir if needed. Index: ruby_1_9_1/ext/socket/getaddrinfo.c =================================================================== --- ruby_1_9_1/ext/socket/getaddrinfo.c (revision 21544) +++ ruby_1_9_1/ext/socket/getaddrinfo.c (revision 21545) @@ -64,6 +64,7 @@ #include <unistd.h> #else #include <winsock2.h> +#include <ws2tcpip.h> #include <io.h> #endif #include <string.h> Index: ruby_1_9_1/ext/socket/getnameinfo.c =================================================================== --- ruby_1_9_1/ext/socket/getnameinfo.c (revision 21544) +++ ruby_1_9_1/ext/socket/getnameinfo.c (revision 21545) @@ -57,6 +57,7 @@ #endif #ifdef _WIN32 #include <winsock2.h> +#include <ws2tcpip.h> #define snprintf _snprintf #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/