mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/io/wait/wait.c: ioctl(2) is declared in unistd.h on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
965dba4faa
commit
d332891fdd
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Oct 23 16:43:43 2011 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* ext/io/wait/wait.c: ioctl(2) is declared in unistd.h on Solaris.
|
||||
|
||||
Sun Oct 23 16:33:35 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||
|
||||
* ext/tk/MANUAL_tcltklib.eng: fix typo. reported by Mimura-san.
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
#include "ruby/io.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#if defined(HAVE_UNISTD_H) && (defined(__sun) || defined(__sun__))
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#if defined(HAVE_SYS_IOCTL_H)
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue