diff options
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 0fcb392690..4f7b49407f 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -319,7 +319,7 @@ end $objs = ["socket.#{$OBJEXT}"] -if $getaddr_info_ok and have_func("getaddrinfo") and have_func("getnameinfo") +if $getaddr_info_ok and have_func("getaddrinfo", "netdb.h") and have_func("getnameinfo", "netdb.h") have_getaddrinfo = true else if try_link(<<EOF) |