forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
20 lines
427 B
C
20 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) ;
|
|
}
|