diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 45e80ac0155..4b3a78e154e 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -304,7 +304,7 @@ wait_for_termination (int pid) | |||
| 304 | { | 304 | { |
| 305 | while (1) | 305 | while (1) |
| 306 | { | 306 | { |
| 307 | #if defined (BSD_SYSTEM) || defined (HPUX) | 307 | #if (defined (BSD_SYSTEM) || defined (HPUX)) && !defined(__GNU__) |
| 308 | /* Note that kill returns -1 even if the process is just a zombie now. | 308 | /* Note that kill returns -1 even if the process is just a zombie now. |
| 309 | But inevitably a SIGCHLD interrupt should be generated | 309 | But inevitably a SIGCHLD interrupt should be generated |
| 310 | and child_sig will do wait3 and make the process go away. */ | 310 | and child_sig will do wait3 and make the process go away. */ |