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

@ -1,3 +1,8 @@
Thu Dec 31 18:18:55 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/rubysocket.h: include addrinfo.h only when using our own
getaddrinfo.c.
Thu Dec 31 14:20:11 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* process.c (save_redirect_fd): consider EBADF that the fd is not used.

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