Fix for SysV

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@184 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1995-10-27 17:18:34 +00:00
parent ede4b0e1a6
commit f384915ba5

View File

@@ -17,12 +17,11 @@
#include <termio.h> #include <termio.h>
#define sgttyb termio #define sgttyb termio
#define sg_flags c_lflag #define sg_flags c_lflag
#ifndef TIOCGETP /* Really redefine these ioctl's! */
#undef TIOCGETP
#define TIOCGETP TCGETA #define TIOCGETP TCGETA
#endif #undef TIOCSETP
#ifndef TIOCSETP
#define TIOCSETP TCSETA #define TIOCSETP TCSETA
#endif
#else /* !TERMIO */ #else /* !TERMIO */
#include <sgtty.h> #include <sgtty.h>
#endif #endif