summaryrefslogtreecommitdiff
path: root/ext/io/wait/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/wait/extconf.rb')
-rw-r--r--ext/io/wait/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/extconf.rb b/ext/io/wait/extconf.rb
index e8181d25f5..1a0edbd846 100644
--- a/ext/io/wait/extconf.rb
+++ b/ext/io/wait/extconf.rb
@@ -2,7 +2,7 @@ require 'mkmf'
target = "io/wait"
unless macro_defined?("DOSISH", "#include <ruby.h>")
- fionread = %w[sys/ioctl.h sys/filio.h].find do |h|
+ fionread = %w[sys/ioctl.h sys/filio.h sys/socket.h].find do |h|
have_macro("FIONREAD", h)
end
if fionread