about summary refs log tree commit homepage
path: root/lib/yahns/wbuf_common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/wbuf_common.rb')
-rw-r--r--lib/yahns/wbuf_common.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yahns/wbuf_common.rb b/lib/yahns/wbuf_common.rb
index 21e9b3a..c51050b 100644
--- a/lib/yahns/wbuf_common.rb
+++ b/lib/yahns/wbuf_common.rb
@@ -7,6 +7,7 @@ begin
   require 'sendfile'
 rescue LoadError
   require_relative 'sendfile_compat'
+  IO.__send__ :include, Yahns::SendfileCompat
 end
 
 module Yahns::WbufCommon # :nodoc: