mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[ruby/resolv] Require rbconfig in resolv.rb
Uses ::RbConfig::CONFIG['host_os']
Found with ruby --disable-gems -e '...'
5a5a81ce98
This commit is contained in:
parent
9b576cd625
commit
83a2860484
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ require 'socket'
|
|||
require 'timeout'
|
||||
require 'io/wait'
|
||||
require 'securerandom'
|
||||
require 'rbconfig'
|
||||
|
||||
# Resolv is a thread-aware DNS resolver library written in Ruby. Resolv can
|
||||
# handle multiple DNS requests concurrently without blocking the entire Ruby
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue