diff options
author | Jim Blandy <jimb@redhat.com> | 1992-11-07 07:36:10 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-11-07 07:36:10 +0000 |
commit | 7d79e3b431c09e2977881c1fbae6944c41e6d95d (patch) | |
tree | 0aacec9ac10eadcf4720755548d90006534bf7fa /src | |
parent | 33b1baf632e17900a0680d81fd9b7d3c3af1130a (diff) | |
download | emacs-7d79e3b431c09e2977881c1fbae6944c41e6d95d.tar.gz |
* process.c [SYSV]: Don't include <termios.h>, <termio.h>, or
<fcntl.h>.
(process_send_signal): Don't try to send SIGTSTP
unless SIGTSTP is defined.
Diffstat (limited to 'src')
-rw-r--r-- | src/process.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/process.c b/src/process.c index 0241f9a3481..35a30540c02 100644 --- a/src/process.c +++ b/src/process.c @@ -52,14 +52,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <fcntl.h> #endif /* HAVE_PTYS and no O_NDELAY */ #endif /* BSD or STRIDE */ -#ifdef USG -#ifdef HAVE_TERMIOS -#include <termios.h> -#else -#include <termio.h> -#endif -#include <fcntl.h> -#endif /* USG */ #ifdef NEED_BSDTTY #include <bsdtty.h> @@ -2286,10 +2278,12 @@ process_send_signal (process, signo, current_group, nomsg) ioctl (XFASTINT (p->infd), TCGETA, &t); send_process (proc, &t.c_cc[VQUIT], 1); return; +#ifdef SIGTSTP case SIGTSTP: ioctl (XFASTINT (p->infd), TCGETA, &t); send_process (proc, &t.c_cc[VSWTCH], 1); return; +#endif } #endif /* ! defined (USG) */ |