1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/tcb/files/patch-src-tcb.c
Oliver Braun 9e32acae12 - console.h is spelled consio.h here.
- Fix union wait
- Remove pointers to no longer existent web page

PR:		ports/45677
Submitted by:	Volker Stolz <vs@foldr.org>
2002-11-24 16:43:14 +00:00

21 lines
427 B
C

--- 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) ;
}