fixed incorrect #ifdef

termio uses "unsigned short" not int for c_?flag
This commit is contained in:
Todd C. Miller
1995-09-03 18:09:40 +00:00
parent f3268e58e9
commit 993b7e5ecc

View File

@@ -102,10 +102,10 @@ char * tgetpass(prompt, timeout)
#else #else
int oldmask; int oldmask;
#endif #endif
#ifdef HAVE_TERMIO_H #ifdef HAVE_TERMIOS_H
tcflag_t svflagval; tcflag_t svflagval;
#else #else
int svflagval; unsigned short svflagval;
#endif #endif
fd_set readfds; fd_set readfds;
struct timeval tv; struct timeval tv;