From f384915ba52bdad1a2fdfff0a3edfd756b94a13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Groenvall?= Date: Fri, 27 Oct 1995 17:18:34 +0000 Subject: [PATCH] Fix for SysV git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@184 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/read_pwd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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