ruby-changes:43812
From: nobu <ko1@a...>
Date: Sat, 13 Aug 2016 10:26:28 +0900 (JST)
Subject: [ruby-changes:43812] nobu:r55885 (trunk): getnameinfo.c: rubysocket.h for inet_ntop
nobu 2016-08-13 10:26:24 +0900 (Sat, 13 Aug 2016) New Revision: 55885 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55885 Log: getnameinfo.c: rubysocket.h for inet_ntop * ext/socket/getnameinfo.c: needs rubysocket.h for fallback definition of inet_ntop. Modified files: trunk/ext/socket/depend trunk/ext/socket/getnameinfo.c Index: ext/socket/depend =================================================================== --- ext/socket/depend (revision 55884) +++ ext/socket/depend (revision 55885) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/socket/depend#L1 -getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h +getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h rubysocket.h getaddrinfo.o: getaddrinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h constdefs.h constdefs.c : $(srcdir)/mkconstants.rb Index: ext/socket/getnameinfo.c =================================================================== --- ext/socket/getnameinfo.c (revision 55884) +++ ext/socket/getnameinfo.c (revision 55885) @@ -76,6 +76,7 @@ typedef int socklen_t; https://github.com/ruby/ruby/blob/trunk/ext/socket/getnameinfo.c#L76 #include "addrinfo.h" #include "sockport.h" +#include "rubysocket.h" #define SUCCESS 0 #define ANY 0 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/