diff options
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r-- | ext/socket/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 0cc8a88d5c..42cfb064c9 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -444,6 +444,7 @@ else test_func = "socket(0,0,0)" have_library("nsl", 't_open("", 0, (struct t_info *)NULL)', headers) # SunOS have_library("socket", "socket(0,0,0)", headers) # SunOS + have_library("anl", 'getaddrinfo_a', headers) end if have_func(test_func, headers) @@ -505,6 +506,7 @@ EOF unless have_func("gethostname((char *)0, 0)", headers) have_func("uname((struct utsname *)NULL)", headers) end + have_func("getaddrinfo_a", headers) ipv6 = false default_ipv6 = /haiku/ !~ RUBY_PLATFORM |