summaryrefslogtreecommitdiff
path: root/term.c
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@deephackmode.org>1999-05-09 00:29:58 +0000
committerWichert Akkerman <wichert@deephackmode.org>1999-05-09 00:29:58 +0000
commit2e2553a534f532a1546ea2b2f3dc3cd2276d020d (patch)
tree6cffd996287d564f4365dd0b13e1fd9abe33c186 /term.c
parent022c52fda19fa3e92a7000b239214fdd57248a4b (diff)
downloadstrace-2e2553a534f532a1546ea2b2f3dc3cd2276d020d.tar.gz
Merged in a bunch of patches that I got as reaction to the 3.99 release.
See the ChangeLog for details
Diffstat (limited to 'term.c')
-rw-r--r--term.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/term.c b/term.c
index 5850e3377..e60f0ed3b 100644
--- a/term.c
+++ b/term.c
@@ -29,10 +29,12 @@
#include "defs.h"
-#ifdef __GLIBC__
+#ifdef HAVE_TERMIO_H
#include <termio.h>
-#endif /* __GLIBC__ */
+#endif /* HAVE_TERMIO_H */
+
#include <termios.h>
+
#ifdef HAVE_SYS_FILIO_H
#include <sys/filio.h>
#endif
@@ -331,6 +333,12 @@ long code, arg;
#ifdef TIOCSINTR
case TIOCSINTR:
#endif
+#ifdef TIOCSPTLCK
+ case TIOCSPTLCK:
+#endif
+#ifdef TIOCGPTN
+ case TIOCGPTN:
+#endif
tprintf(", ");
printnum(tcp, arg, "%d");
return 1;