diff options
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -695,9 +695,10 @@ main (argc, argv, envp) /* Set up to handle children dying. This must be done before reading in the makefiles so that `shell' function calls will work. */ -#if defined (SIGCHLD) && !defined (USG) +#ifdef SIGCHLD (void) signal (SIGCHLD, child_handler); -#else +#endif +#ifdef SIGCLD (void) signal (SIGCLD, child_handler); #endif |