diff options
Diffstat (limited to 'ext/kgio/extconf.rb')
-rw-r--r-- | ext/kgio/extconf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/kgio/extconf.rb b/ext/kgio/extconf.rb index f6bd0cc..5fb15ac 100644 --- a/ext/kgio/extconf.rb +++ b/ext/kgio/extconf.rb @@ -23,6 +23,8 @@ have_type("struct sockaddr_storage", %w(sys/types.h sys/socket.h)) or have_func('accept4', %w(sys/socket.h)) have_header("sys/select.h") +have_func("writev", "sys/uio.h") + if have_header('ruby/io.h') rubyio = %w(ruby.h ruby/io.h) have_struct_member("rb_io_t", "fd", rubyio) @@ -50,5 +52,6 @@ have_func('rb_str_set_len') have_func('rb_time_interval') have_func('rb_wait_for_single_fd') have_func('rb_str_subseq') +have_func('rb_ary_subseq') create_makefile('kgio_ext') |