Subject: kern/31039: COMPAT_LINUX doesn't compile on amd64
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <wojtek@tensor.3miasto.net>
List: netbsd-bugs
Date: 08/22/2005 09:34:00
>Number:         31039
>Category:       kern
>Synopsis:       COMPAT_LINUX doesn't compile on amd64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 22 09:34:00 +0000 2005
>Originator:     Wojciech Puchar
>Release:        -current todays
>Organization:
TENSOR ap
>Environment:
NetBSD serwer.3miasto.net 3.99.8 NetBSD 3.99.8 (3miasto.net) #0: Mon Aug 22 10:37:37 CEST 2005  root@serwer.3miasto.net:/usr/src/sys/arch/amd64/compile/3miasto.net amd64

>Description:
COMPAT_LINUX fail to compile at linux_machdep.c
>How-To-Repeat:
try to use COMPAT_LINUX on -current/amd64
>Fix:
add

#include <sys/wait.h>

to linux_machdep.c