summaryrefslogtreecommitdiff
path: root/net/tn3270
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-06-16 09:15:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-06-16 09:15:02 +0000
commit88be838903f54f8c061a084208296564da24080b (patch)
tree1ca3201ac2414b49b5f3b94c71950b481ad2048c /net/tn3270
parentFix build on -current. (diff)
Fix build on current.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=61347
Diffstat (limited to 'net/tn3270')
-rw-r--r--net/tn3270/files/patch-system.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/tn3270/files/patch-system.c b/net/tn3270/files/patch-system.c
new file mode 100644
index 000000000000..b97fe4aefc12
--- /dev/null
+++ b/net/tn3270/files/patch-system.c
@@ -0,0 +1,15 @@
+--- sys_curses/system.c.orig Tue Jun 4 21:54:07 2002
++++ sys_curses/system.c Tue Jun 4 21:54:27 2002
+@@ -588,10 +588,10 @@
+ static void
+ child_died(code)
+ {
+- union wait status;
++ int status;
+ register int pid;
+
+- while ((pid = wait3((int *)&status, WNOHANG, (struct rusage *)0)) > 0) {
++ while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) {
+ if (pid == shell_pid) {
+ int ch;
+ extern void setconnmode();