diff options
| author | Jim Blandy | 1992-11-07 07:36:10 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-11-07 07:36:10 +0000 |
| commit | 7d79e3b431c09e2977881c1fbae6944c41e6d95d (patch) | |
| tree | 0aacec9ac10eadcf4720755548d90006534bf7fa /src/process.c | |
| parent | 33b1baf632e17900a0680d81fd9b7d3c3af1130a (diff) | |
| download | emacs-7d79e3b431c09e2977881c1fbae6944c41e6d95d.tar.gz emacs-7d79e3b431c09e2977881c1fbae6944c41e6d95d.zip | |
* 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/process.c')
| -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. */ | |||
| 52 | #include <fcntl.h> | 52 | #include <fcntl.h> |
| 53 | #endif /* HAVE_PTYS and no O_NDELAY */ | 53 | #endif /* HAVE_PTYS and no O_NDELAY */ |
| 54 | #endif /* BSD or STRIDE */ | 54 | #endif /* BSD or STRIDE */ |
| 55 | #ifdef USG | ||
| 56 | #ifdef HAVE_TERMIOS | ||
| 57 | #include <termios.h> | ||
| 58 | #else | ||
| 59 | #include <termio.h> | ||
| 60 | #endif | ||
| 61 | #include <fcntl.h> | ||
| 62 | #endif /* USG */ | ||
| 63 | 55 | ||
| 64 | #ifdef NEED_BSDTTY | 56 | #ifdef NEED_BSDTTY |
| 65 | #include <bsdtty.h> | 57 | #include <bsdtty.h> |
| @@ -2286,10 +2278,12 @@ process_send_signal (process, signo, current_group, nomsg) | |||
| 2286 | ioctl (XFASTINT (p->infd), TCGETA, &t); | 2278 | ioctl (XFASTINT (p->infd), TCGETA, &t); |
| 2287 | send_process (proc, &t.c_cc[VQUIT], 1); | 2279 | send_process (proc, &t.c_cc[VQUIT], 1); |
| 2288 | return; | 2280 | return; |
| 2281 | #ifdef SIGTSTP | ||
| 2289 | case SIGTSTP: | 2282 | case SIGTSTP: |
| 2290 | ioctl (XFASTINT (p->infd), TCGETA, &t); | 2283 | ioctl (XFASTINT (p->infd), TCGETA, &t); |
| 2291 | send_process (proc, &t.c_cc[VSWTCH], 1); | 2284 | send_process (proc, &t.c_cc[VSWTCH], 1); |
| 2292 | return; | 2285 | return; |
| 2286 | #endif | ||
| 2293 | } | 2287 | } |
| 2294 | #endif /* ! defined (USG) */ | 2288 | #endif /* ! defined (USG) */ |
| 2295 | 2289 | ||