diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-17 10:38:19 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-17 10:38:19 +0000 |
commit | 8ae0a40d029efe557a6f6b7907b98b12dccaab6b (patch) | |
tree | 0b31b0466f5224aafe47b2b43d7b7b1b27ccc1fd /ext/pty/extconf.rb | |
parent | 67d18f7ff78aa9da418f5b958e998807c15b7925 (diff) | |
download | ruby-8ae0a40d029efe557a6f6b7907b98b12dccaab6b.tar.gz |
* ext/pty/extconf.rb: check util.h for OpenBSD.
* ext/pty/pty.c: include util.h if available. fix variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty/extconf.rb')
-rw-r--r-- | ext/pty/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb index b26600ab34..3d6d0f1e46 100644 --- a/ext/pty/extconf.rb +++ b/ext/pty/extconf.rb @@ -4,6 +4,7 @@ if /mswin|mingw|bccwin/ !~ RUBY_PLATFORM have_header("sys/stropts.h") have_func("setresuid") have_header("libutil.h") + have_header("util.h") # OpenBSD openpty have_header("pty.h") have_library("util", "openpty") if have_func("posix_openpt") or |