diff --git a/lib/des/read_pwd.c b/lib/des/read_pwd.c index 30af6ab2c..90cbc2261 100644 --- a/lib/des/read_pwd.c +++ b/lib/des/read_pwd.c @@ -17,12 +17,11 @@ #include #define sgttyb termio #define sg_flags c_lflag -#ifndef TIOCGETP +/* Really redefine these ioctl's! */ +#undef TIOCGETP #define TIOCGETP TCGETA -#endif -#ifndef TIOCSETP +#undef TIOCSETP #define TIOCSETP TCSETA -#endif #else /* !TERMIO */ #include #endif