mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/io/wait/{extconf.rb,wait.c}: needs sys/ioctl.h for fcntl on
cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
201eb37d92
commit
bcf61f58d5
3 changed files with 9 additions and 2 deletions
|
@ -14,6 +14,9 @@
|
|||
#include "ruby/io.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#if defined(HAVE_SYS_IOCTL_H)
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#if defined(FIONREAD_HEADER)
|
||||
#include FIONREAD_HEADER
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue