summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pty/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb
index 1b0958b484..da3655cf4d 100644
--- a/ext/pty/extconf.rb
+++ b/ext/pty/extconf.rb
@@ -17,7 +17,7 @@ if /mswin|mingw|bccwin/ !~ RUBY_PLATFORM
if openpt
have_func("ptsname_r") or have_func("ptsname")
end
- if openpt
+ if openpt or
(util or have_func("openpty")) or
have_func("_getpty") or
have_func("ioctl")