ext/kgio/extconf.rb in kgio-2.3.1 vs ext/kgio/extconf.rb in kgio-2.3.2
- old
+ new
@@ -3,10 +3,10 @@
$CPPFLAGS << ' -DPOSIX_C_SOURCE=1'
have_func("poll", "poll.h")
have_func("getaddrinfo", %w(sys/types.h sys/socket.h netdb.h)) or
abort "getaddrinfo required"
-have_func("getnameinfo", %w(sys/socket.h netdb.h)) or
+have_func("getnameinfo", %w(sys/types.h sys/socket.h netdb.h)) or
abort "getnameinfo required"
have_type("struct sockaddr_storage", %w(sys/types.h sys/socket.h)) or
abort "struct sockaddr_storage required"
have_func('accept4', %w(sys/socket.h))
if have_header('ruby/io.h')