opnsense-ports/misc/tcb/files/patch-src-tcb.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

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