diff options
Diffstat (limited to 'ext/pty/extconf.rb')
-rw-r--r-- | ext/pty/extconf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb index 87fbdc6024..b26600ab34 100644 --- a/ext/pty/extconf.rb +++ b/ext/pty/extconf.rb @@ -6,7 +6,8 @@ if /mswin|mingw|bccwin/ !~ RUBY_PLATFORM have_header("libutil.h") have_header("pty.h") have_library("util", "openpty") - if have_func("openpty") or + if have_func("posix_openpt") or + have_func("openpty") or have_func("_getpty") or have_func("ptsname") or have_func("ioctl") |