diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-13 14:26:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-13 14:26:10 -0700 |
commit | d224563823accca63fd871260e3f0dad6758c8d4 (patch) | |
tree | 6e9754eadda61033dbd2a5e660b040419d1376c1 | |
parent | 83c6584be53d6863e647067ba385b42ed5347cdb (diff) | |
download | kgio-d224563823accca63fd871260e3f0dad6758c8d4.tar.gz |
Reported via private email.
-rw-r--r-- | ext/kgio/extconf.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/kgio/extconf.rb b/ext/kgio/extconf.rb index f988ce1..f277710 100644 --- a/ext/kgio/extconf.rb +++ b/ext/kgio/extconf.rb @@ -7,6 +7,12 @@ unless have_macro('CLOCK_MONOTONIC', 'time.h') end have_type('clockid_t', 'time.h') have_library('rt', 'clock_gettime', 'time.h') + +# taken from ext/socket/extconf.rb in ruby/trunk: +# OpenSolaris: +have_library("nsl", "t_open") +have_library("socket", "socket") + have_func("poll", "poll.h") have_func("getaddrinfo", %w(sys/types.h sys/socket.h netdb.h)) or abort "getaddrinfo required" |