mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
check HAVE_TYPE_STRUCT_SOCKADDR_DL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7da6744329
commit
5aa618819b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun May 12 16:06:43 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
|
||||||
|
check HAVE_TYPE_STRUCT_SOCKADDR_DL.
|
||||||
|
|
||||||
Sat May 11 23:01:58 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
Sat May 11 23:01:58 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/rubysocket.h (HAVE_TYPE_STRUCT_SOCKADDR_DL):
|
* ext/socket/rubysocket.h (HAVE_TYPE_STRUCT_SOCKADDR_DL):
|
||||||
|
|
|
@ -1159,7 +1159,7 @@ rsock_inspect_sockaddr(struct sockaddr *sockaddr_arg, socklen_t socklen, VALUE r
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef AF_LINK
|
#if defined(AF_LINK) && defined(HAVE_TYPE_STRUCT_SOCKADDR_DL)
|
||||||
/* AF_LINK is defined in 4.4BSD derivations since Net2.
|
/* AF_LINK is defined in 4.4BSD derivations since Net2.
|
||||||
link_ntoa is also defined at Net2.
|
link_ntoa is also defined at Net2.
|
||||||
However Debian GNU/kFreeBSD defines AF_LINK but
|
However Debian GNU/kFreeBSD defines AF_LINK but
|
||||||
|
|
Loading…
Reference in a new issue