2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 05:17:54 +00:00

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
int oldmask;
#endif
#ifdef HAVE_TERMIO_H
#ifdef HAVE_TERMIOS_H
tcflag_t svflagval;
#else
int svflagval;
unsigned short svflagval;
#endif
fd_set readfds;
struct timeval tv;