diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-13 14:26:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-14 10:32:51 -0700 |
commit | 1a7eed4c69abb7bafd3e3dc2acd13e243995e98e (patch) | |
tree | cf81f687a72808b2d03df615caab89fd402e591f | |
parent | f656c49f77d896cbbb1e684d826472c09dcc2253 (diff) | |
download | kgio-1a7eed4c69abb7bafd3e3dc2acd13e243995e98e.tar.gz |
Reported via private email. (cherry picked from commit d224563823accca63fd871260e3f0dad6758c8d4)
-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 f44b8c8..31ef73c 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" |