summaryrefslogtreecommitdiff
path: root/ext/io/console/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/console/extconf.rb')
-rw-r--r--ext/io/console/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb
index ac861848fa..57cd7ad87f 100644
--- a/ext/io/console/extconf.rb
+++ b/ext/io/console/extconf.rb
@@ -14,6 +14,7 @@ else
end
have_header("sys/ioctl.h")
have_func("rb_io_get_write_io", "ruby/io.h")
+have_func("dup3", "unistd.h")
if ok
create_makefile("io/console")
end