aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systty.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index 5a166b2fd5d..e264c8c4cd4 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -20,6 +20,30 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20#ifdef HAVE_TERMIOS 20#ifdef HAVE_TERMIOS
21#define HAVE_TCATTR 21#define HAVE_TCATTR
22#endif 22#endif
23
24/* If we defined these before and we are about to redefine them,
25 prevent alarming warnings. */
26#ifdef BSD_TERMIOS
27#undef NL0
28#undef NL1
29#undef CR0
30#undef CR1
31#undef CR2
32#undef CR3
33#undef TAB0
34#undef TAB1
35#undef TAB2
36#undef XTABS
37#undef BS0
38#undef BS1
39#undef FF0
40#undef FF1
41#undef ECHO
42#undef NOFLSH
43#undef TOSTOP
44#undef FLUSHO
45#undef PENDIN
46#endif
23 47
24/* Include the proper files. */ 48/* Include the proper files. */
25#ifdef HAVE_TERMIO 49#ifdef HAVE_TERMIO