diff options
-rw-r--r-- | sys/amd64/amd64/sys_machdep.c | 5 | ||||
-rw-r--r-- | sys/i386/i386/sys_machdep.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c index 3c4f1cc..5d87404 100644 --- a/sys/amd64/amd64/sys_machdep.c +++ b/sys/amd64/amd64/sys_machdep.c @@ -31,12 +31,13 @@ * SUCH DAMAGE. * * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91 - * $Id: sys_machdep.c,v 1.8 1995/03/10 08:13:07 davidg Exp $ + * $Id: sys_machdep.c,v 1.9 1995/05/30 07:59:40 rgrimes Exp $ * */ #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysproto.h> #include <sys/proc.h> #include <sys/user.h> @@ -49,10 +50,12 @@ void set_user_ldt __P((struct pcb *pcb)); int i386_get_ldt __P((struct proc *, char *, int *)); int i386_set_ldt __P((struct proc *, char *, int *)); +#ifndef _SYS_SYSPROTO_H_ struct sysarch_args { int op; char *parms; }; +#endif int sysarch(p, uap, retval) diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c index 3c4f1cc..5d87404 100644 --- a/sys/i386/i386/sys_machdep.c +++ b/sys/i386/i386/sys_machdep.c @@ -31,12 +31,13 @@ * SUCH DAMAGE. * * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91 - * $Id: sys_machdep.c,v 1.8 1995/03/10 08:13:07 davidg Exp $ + * $Id: sys_machdep.c,v 1.9 1995/05/30 07:59:40 rgrimes Exp $ * */ #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysproto.h> #include <sys/proc.h> #include <sys/user.h> @@ -49,10 +50,12 @@ void set_user_ldt __P((struct pcb *pcb)); int i386_get_ldt __P((struct proc *, char *, int *)); int i386_set_ldt __P((struct proc *, char *, int *)); +#ifndef _SYS_SYSPROTO_H_ struct sysarch_args { int op; char *parms; }; +#endif int sysarch(p, uap, retval) |