Fix COMPAT_DARWIN build. This closes PR#31336

This commit is contained in:
manu 2005-10-03 17:11:25 +00:00
parent 13132461ea
commit bc210edac8
2 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: darwin_machdep.c,v 1.17 2004/07/28 22:24:06 manu Exp $ */
/* $NetBSD: darwin_machdep.c,v 1.18 2005/10/03 17:11:25 manu Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: darwin_machdep.c,v 1.17 2004/07/28 22:24:06 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: darwin_machdep.c,v 1.18 2005/10/03 17:11:25 manu Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -45,6 +45,9 @@ __KERNEL_RCSID(0, "$NetBSD: darwin_machdep.c,v 1.17 2004/07/28 22:24:06 manu Exp
#include <sys/mount.h>
#include <sys/signal.h>
#include <compat/sys/signal.h>
#include <compat/sys/signalvar.h>
#include <compat/mach/mach_types.h>
#include <compat/mach/mach_vm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: darwin_exec.c,v 1.42 2005/09/13 01:42:32 christos Exp $ */
/* $NetBSD: darwin_exec.c,v 1.43 2005/10/03 17:11:25 manu Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include "opt_compat_darwin.h" /* For COMPAT_DARWIN in mach_port.h */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: darwin_exec.c,v 1.42 2005/09/13 01:42:32 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: darwin_exec.c,v 1.43 2005/10/03 17:11:25 manu Exp $");
#include "opt_syscall_debug.h"
@ -57,8 +57,6 @@ __KERNEL_RCSID(0, "$NetBSD: darwin_exec.c,v 1.42 2005/09/13 01:42:32 christos Ex
#include <dev/wscons/wsconsio.h>
#include <machine/darwin_machdep.h>
#include <compat/sys/signal.h>
#include <compat/common/compat_util.h>
@ -76,6 +74,8 @@ __KERNEL_RCSID(0, "$NetBSD: darwin_exec.c,v 1.42 2005/09/13 01:42:32 christos Ex
#include <compat/darwin/darwin_iokit.h>
#include <compat/darwin/darwin_iohidsystem.h>
#include <machine/darwin_machdep.h>
/* Redefined from sys/dev/wscons/wsdisplay.c */
extern const struct cdevsw wsdisplay_cdevsw;