summaryrefslogtreecommitdiff
path: root/ext/socket/rubysocket.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-30 20:56:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-30 20:56:41 +0000
commit1069e0f33569071d43dff77bdca1064a8acb1a0f (patch)
tree1d91ab9d912a0879c361699000225c0d570429fa /ext/socket/rubysocket.h
parent6e4df2896f6b5ca801e330954e4a6dc1eb0fd571 (diff)
* 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
Diffstat (limited to 'ext/socket/rubysocket.h')
-rw-r--r--ext/socket/rubysocket.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h
index 27980c3..9f1bd6a 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