diff options
Diffstat (limited to 'ext/kgio/extconf.rb')
-rw-r--r-- | ext/kgio/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/kgio/extconf.rb b/ext/kgio/extconf.rb index 3758e92..86e660a 100644 --- a/ext/kgio/extconf.rb +++ b/ext/kgio/extconf.rb @@ -2,6 +2,7 @@ require 'mkmf' $CPPFLAGS << ' -D_GNU_SOURCE' $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 |