summaryrefslogtreecommitdiff
path: root/misc/tcb/files/patch-src-tcb.c
blob: 9f07a5c3341d4565a8a3be6a76df0ef1c5c09765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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) ;
 }