1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/rubysocket.h: include addrinfo.h only when using our own

getaddrinfo.c.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2009-12-31 09:19:05 +00:00
parent 96abe7f35e
commit 070489975d
2 changed files with 7 additions and 0 deletions

View file

@ -97,7 +97,9 @@
*/
#define pseudo_AF_FTIP pseudo_AF_RTIP
#ifndef HAVE_GETADDRINFO
#include "addrinfo.h"
#endif
#include "sockport.h"
#ifndef NI_MAXHOST