summaryrefslogtreecommitdiff
path: root/ext/io/wait
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-24 08:05:06 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-24 08:05:06 +0000
commita0e7746d78b22585b7f3efd3bc7aa298305c567c (patch)
tree44779092073277e6c3d989fe1e6da6d50d5d2dcb /ext/io/wait
parent404dda971615ce4ab6ced7ba8eaf0fedd5d29497 (diff)
* ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/wait')
-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 e8181d25f5e..1a0edbd846e 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