diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y index 069d801..f007fee 100644 --- a/src/prog/gpm-root.y +++ b/src/prog/gpm-root.y @@ -1196,11 +1196,7 @@ int main(int argc, char **argv) LOG_DAEMON : LOG_USER); /* reap your zombies */ childaction.sa_handler=reap_children; -#if defined(__GLIBC__) - __sigemptyset(&childaction.sa_mask); -#else /* __GLIBC__ */ - childaction.sa_mask=0; -#endif /* __GLIBC__ */ + sigemptyset(&childaction.sa_mask); childaction.sa_flags=SA_INTERRUPT; /* need to break the select() call */ sigaction(SIGCHLD,&childaction,NULL);