evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sy / sysklogd / union-wait.patch
blobe4bffa5d6953e9285b4698bc06be0861decd0ad2
1 --- sysklogd-1.5-old/syslogd.c 2016-08-30 22:50:59.812926945 +0100
2 +++ sysklogd-1.5/syslogd.c 2016-08-30 22:51:12.008842890 +0100
3 @@ -2094,7 +2094,7 @@
4 (void) signal(SIGCHLD, reapchild); /* reset signal handler -ASP */
5 wait ((int *)0);
6 #else
7 - union wait status;
8 + int status;
10 while (wait3(&status, WNOHANG, (struct rusage *) NULL) > 0)