aboutsummaryrefslogtreecommitdiff
path: root/misc/tcb/files/patch-src-tcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tcb/files/patch-src-tcb.c')
-rw-r--r--misc/tcb/files/patch-src-tcb.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/tcb/files/patch-src-tcb.c b/misc/tcb/files/patch-src-tcb.c
new file mode 100644
index 000000000000..9f07a5c3341d
--- /dev/null
+++ b/misc/tcb/files/patch-src-tcb.c
@@ -0,0 +1,20 @@
+--- src/tcb.c.orig Mon Nov 23 15:51:15 1998
++++ src/tcb.c Sun Nov 24 15:38:49 2002
+@@ -12,7 +12,7 @@
+ #include <sys/vt.h>
+ #include <sys/kd.h>
+ #else
+-#include <machine/console.h>
++#include <sys/consio.h>
+ #endif linux
+
+ static struct {
+@@ -574,7 +574,7 @@
+ void sig_child(int dummy)
+ {
+ int pid;
+- union wait status;
++ int status;
+
+ while ((pid = wait3((int*)&status, WNOHANG, (struct rusage *)0)) > 0) ;
+ }