From 25e2fae9e9b7c73546e1e92750cf1b87e6193d4a Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 11 Jul 2005 13:14:49 +0000 Subject: [PATCH] Add a sunos_machdep include file to deal with MD implementations of sunos_syscall_intern. --- sys/compat/sunos/sunos_exec.c | 6 ++++-- sys/compat/sunos32/sunos32_exec.c | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c index 23a0da9788c9..d9e942c36993 100644 --- a/sys/compat/sunos/sunos_exec.c +++ b/sys/compat/sunos/sunos_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos_exec.c,v 1.48 2005/07/10 16:45:33 christos Exp $ */ +/* $NetBSD: sunos_exec.c,v 1.49 2005/07/11 13:14:49 christos Exp $ */ /* * Copyright (c) 1993 Theo de Raadt @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.48 2005/07/10 16:45:33 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.49 2005/07/11 13:14:49 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_syscall_debug.h" @@ -48,6 +48,8 @@ __KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.48 2005/07/10 16:45:33 christos Exp #include #include +#include + extern int nsunos_sysent; extern struct sysent sunos_sysent[]; #ifdef SYSCALL_DEBUG diff --git a/sys/compat/sunos32/sunos32_exec.c b/sys/compat/sunos32/sunos32_exec.c index 6dca929f53da..d2fd6d1d51e5 100644 --- a/sys/compat/sunos32/sunos32_exec.c +++ b/sys/compat/sunos32/sunos32_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos Exp $ */ +/* $NetBSD: sunos32_exec.c,v 1.23 2005/07/11 13:14:49 christos Exp $ */ /* * Copyright (c) 2001 Matthew R. Green @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.23 2005/07/11 13:14:49 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_syscall_debug.h" @@ -45,6 +45,8 @@ __KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos E #include #include +#include + extern int nsunos32_sysent; extern struct sysent sunos32_sysent[]; #ifdef SYSCALL_DEBUG @@ -86,7 +88,7 @@ const struct emul emul_sunos = { NULL, NULL, #ifdef __HAVE_SYSCALL_INTERN - syscall_intern, + sunos_syscall_intern, #else syscall, #endif