diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 11:37:16 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 11:37:16 +0000 |
| commit | f1bdf822da2005490df9b8a30c9f9096ff468db9 (patch) | |
| tree | ac6f7640ce4cdc97fc40c214d0b30c53fb32df7a /ext/pty/extconf.rb | |
| parent | ccfb7f15fb7a634e5431b9fa0f83d6da6f0efd51 (diff) | |
merges r20846 from trunk into ruby_1_9_1 and filsters modification for
1.9.2 features.
* ext/pty/extconf.rb: check util.h for OpenBSD.
* ext/pty/pty.c: include util.h if available. fix variable name.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20877 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 87fbdc602..c2fed085c 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("openpty") or |
