summaryrefslogtreecommitdiff
path: root/ext/socket/socket.c
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
commit36f93387071e9a92b3c6790a1ccb9f504d24ec3c (patch)
tree21ebd981b431a2fee113643a724abb6649a3b9b6 /ext/socket/socket.c
parent6096bbf0c0f2fe49e74a011037faf076f2ab785a (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/branches/ruby_1_8@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 1b12cdd092..4f8cf07218 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -69,9 +69,7 @@
#ifndef EWOULDBLOCK
#define EWOULDBLOCK EAGAIN
#endif
-#ifndef HAVE_GETADDRINFO
-# include "addrinfo.h"
-#endif
+#include "addrinfo.h"
#include "sockport.h"
#if defined(__vms)