diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 9df003fa3a3..8c4199e5eed 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7029,14 +7029,15 @@ integer or floating point values. | |||
| 7029 | return system_process_attributes (pid); | 7029 | return system_process_attributes (pid); |
| 7030 | } | 7030 | } |
| 7031 | 7031 | ||
| 7032 | #ifndef NS_IMPL_GNUSTEP | ||
| 7033 | static | ||
| 7034 | #endif | ||
| 7032 | void | 7035 | void |
| 7033 | catch_child_signal (void) | 7036 | catch_child_signal (void) |
| 7034 | { | 7037 | { |
| 7035 | #ifdef SIGCHLD | ||
| 7036 | struct sigaction action; | 7038 | struct sigaction action; |
| 7037 | emacs_sigaction_init (&action, deliver_child_signal); | 7039 | emacs_sigaction_init (&action, deliver_child_signal); |
| 7038 | sigaction (SIGCHLD, &action, 0); | 7040 | sigaction (SIGCHLD, &action, 0); |
| 7039 | #endif | ||
| 7040 | } | 7041 | } |
| 7041 | 7042 | ||
| 7042 | 7043 | ||