diff --git a/ChangeLog b/ChangeLog index 04919ea2dd..09e4859c28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun May 9 02:57:02 2010 Aaron Patterson + + * ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been required + yet. [ruby-core:30095] + Sun May 9 01:15:18 2010 Nobuyoshi Nakada * cont.c (stackgrowdirection): removed duplicated code, use diff --git a/ext/fiddle/lib/fiddle.rb b/ext/fiddle/lib/fiddle.rb index bc4017eee0..8b8c069b03 100644 --- a/ext/fiddle/lib/fiddle.rb +++ b/ext/fiddle/lib/fiddle.rb @@ -1,7 +1,7 @@ require 'fiddle.so' require 'fiddle/function' require 'fiddle/closure' -require 'dl' +require 'dl' unless Object.const_defined?(:DL) module Fiddle Pointer = DL::CPtr