b1a9ba
diff -r -u gpm-1.20.7-orig/src/prog/gpm-root.y gpm-1.20.7/src/prog/gpm-root.y
b1a9ba
--- gpm-1.20.7-orig/src/prog/gpm-root.y	2012-10-26 16:21:38.000000000 -0500
b1a9ba
+++ gpm-1.20.7/src/prog/gpm-root.y	2017-10-10 13:50:02.115721252 -0500
b1a9ba
@@ -1196,11 +1196,7 @@
b1a9ba
                                                         LOG_DAEMON : LOG_USER);
b1a9ba
    /* reap your zombies */
b1a9ba
    childaction.sa_handler=reap_children;
b1a9ba
-#if defined(__GLIBC__)
b1a9ba
-   __sigemptyset(&childaction.sa_mask);
b1a9ba
-#else /* __GLIBC__ */
b1a9ba
-   childaction.sa_mask=0;
b1a9ba
-#endif /* __GLIBC__ */
b1a9ba
+   sigemptyset(&childaction.sa_mask);
b1a9ba
    childaction.sa_flags=SA_INTERRUPT; /* need to break the select() call */
b1a9ba
    sigaction(SIGCHLD,&childaction,NULL);
b1a9ba