summaryrefslogtreecommitdiff
path: root/lib/libedit/tty.h
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1997-06-25 08:14:24 +0000
committerMike Smith <msmith@FreeBSD.org>1997-06-25 08:14:24 +0000
commitbd5176cb385550bc8bb4232c161461a65e01cd2a (patch)
tree08bd8954bc4eff60db9bbe355be2552a864a8dc8 /lib/libedit/tty.h
parent4ce2d5b5b5d9e52ad9764b19377886701920739f (diff)
Notes
Diffstat (limited to 'lib/libedit/tty.h')
-rw-r--r--lib/libedit/tty.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libedit/tty.h b/lib/libedit/tty.h
index 14ba10911a0d..294c36a86680 100644
--- a/lib/libedit/tty.h
+++ b/lib/libedit/tty.h
@@ -145,7 +145,12 @@
# endif /* IEXTEN != 0 */
#endif /* convex || __convex__ */
-
+/*
+ * So that we don't lose job control.
+ */
+#ifdef __SVR4
+# undef CSWTCH
+#endif
#ifndef _POSIX_VDISABLE
# define _POSIX_VDISABLE ((unsigned char) -1)
@@ -446,8 +451,8 @@
typedef struct {
char *t_name;
- int t_setmask;
- int t_clrmask;
+ u_int t_setmask;
+ u_int t_clrmask;
} ttyperm_t[NN_IO][M_NN];
typedef unsigned char ttychar_t[NN_IO][C_NCC];