From: Gavin Sinclair Date: 2004-04-22T00:43:11+09:00 Subject: Re: Problems building ext/io/wait.c in 1.8 branch On Thursday, April 22, 2004, 1:33:54 AM, ts wrote: >>>>>> "G" == Gavin Sinclair writes: G>> $ ruby extconf.rb G>> checking for FIONREAD... no G>> checking for FIONREAD... no > The Makefiule is created only if it find FIONREAD. See the content of > extconf.rb > Look in the include directories, if FIONREAD is defined in some file Here's the only mention, in /usr/include/sys/termios.h, and it doesn't define FIONREAD. Nothing under /usr/local/include mentions it. /* sys/termios.h */ #ifndef _SYS_TERMIOS_H #define _SYS_TERMIOS_H #define TIOCMGET 0x5415 #define TIOCMSET 0x5418 #define TIOCINQ 0x541B /* TIOCINQ is utilized instead of FIONREAD which has been accupied for other purposes under CYGWIN. Other UNIX ioctl requests has been omited because effects of their work one can achive by standard POSIX commands */