Fix for SysV
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@184 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -17,12 +17,11 @@
|
||||
#include <termio.h>
|
||||
#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 <sgtty.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user