--- rxvt-unicode/src/init.h 2003/11/24 17:31:27 1.2 +++ rxvt-unicode/src/init.h 2004/03/06 00:05:01 1.6 @@ -1,9 +1,5 @@ -/* - * $Id: init.h,v 1.2 2003/11/24 17:31:27 pcg Exp $ - */ - -#ifndef _INIT_H_ -#define _INIT_H_ +#ifndef INIT_H_ +#define INIT_H_ #undef CERASE /* TODO */ #define CERASE '\010' /* ^H */ @@ -13,7 +9,7 @@ # include #else # ifdef HAVE_SETLOCALE -# include +# include # endif #endif /* HAVE_XLOCALE */ @@ -59,11 +55,11 @@ # define SET_TTYMODE(fd,tt) \ tt->sg.sg_ispeed = tt->sg.sg_ospeed = BAUDRATE, \ - ioctl (fd, TIOCSETP, &(tt->sg)), \ - ioctl (fd, TIOCSETC, &(tt->tc)), \ - ioctl (fd, TIOCSLTC, &(tt->lc)), \ - ioctl (fd, TIOCSETD, &(tt->line)), \ - ioctl (fd, TIOCLSET, &(tt->local)) + ioctl (fd, TIOCSETP, & (tt->sg)), \ + ioctl (fd, TIOCSETC, & (tt->tc)), \ + ioctl (fd, TIOCSLTC, & (tt->lc)), \ + ioctl (fd, TIOCSETD, & (tt->line)), \ + ioctl (fd, TIOCLSET, & (tt->local)) #endif /* HAVE_TERMIOS_H */ /* use the fastest baud-rate */ @@ -146,9 +142,6 @@ #ifndef O_NOCTTY # define O_NOCTTY 0 #endif -#ifndef O_NDELAY -# define O_NDELAY O_NONBLOCK /* QNX, at least */ -#endif #ifndef ONLCR # define ONLCR 0 /* QNX, at least */ #endif