diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index 3ed3f0c9..915b9ea3 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -26,6 +26,7 @@ when /bsd/ have_library("kvm") when /mswin32|mingw|cygwin|bccwin32/ os = 'win32' + require 'ftools' $CPPFLAGS += ' -DWIN32' is_win32 = true have_library("kernel32")