blob: 41b794e444f538afe366c12af08938cd5d8b5fd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/util.c.orig Fri Oct 25 11:42:37 2002
+++ src/util.c Fri Oct 25 11:43:05 2002
@@ -138,7 +138,7 @@
ReapChild()
{
/* QNX support added by D J Hawkey Jr <hawkeyd@visi.com> 1997May16 */
-#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__)
+#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__FreeBSD__)
int pid;
#endif
extern int errno;
@@ -149,7 +149,7 @@
* checked into it. This gets us off the ground with SYSV. RSE@GMI
* QNX support added by Frank G Liu <liug@cs.rose-hulman.edu> 1997May09
*/
-#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__)
+#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__FreeBSD__)
union wait st;
do
|