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>
|
#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
|
||||||
|
Reference in New Issue
Block a user