summaryrefslogtreecommitdiff
path: root/japanese/chimera
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-26 01:17:45 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-26 01:17:45 +0000
commitc4af01c3f91a1619f116daa4fc5a6273946c24fc (patch)
tree41cf6f2f9e809615d8c3b59a8a7ff92015102f1c /japanese/chimera
parentFix build on -current (cope with removal of union wait) (diff)
Fix build on -current (cope with removal of union wait)
Submitted by: mike
Notes
Notes: svn path=/head/; revision=68843
Diffstat (limited to 'japanese/chimera')
-rw-r--r--japanese/chimera/files/patch-util.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/japanese/chimera/files/patch-util.c b/japanese/chimera/files/patch-util.c
new file mode 100644
index 000000000000..41b794e444f5
--- /dev/null
+++ b/japanese/chimera/files/patch-util.c
@@ -0,0 +1,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