From 1069e0f33569071d43dff77bdca1064a8acb1a0f Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Dec 2009 20:56:41 +0000 Subject: * ext/socket/extconf.rb: fix for wide-getaddrinfo option. * ext/socket/addrinfo.c: rename {addr,name}info functions to ensure those are used on darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/rubysocket.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/socket/rubysocket.h') diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h index 27980c3874..9f1bd6a62a 100644 --- a/ext/socket/rubysocket.h +++ b/ext/socket/rubysocket.h @@ -97,9 +97,7 @@ */ #define pseudo_AF_FTIP pseudo_AF_RTIP -#ifndef HAVE_GETADDRINFO -# include "addrinfo.h" -#endif +#include "addrinfo.h" #include "sockport.h" #ifndef NI_MAXHOST -- cgit v1.2.3