From bf5a14ff2243191caef62f783bf97e3f2e012687 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 30 Jul 2003 21:30:32 +0000 Subject: Change: #define I387 (*(union i387_union *)&(((struct pcb *)curproc->p_addr)->pcb_savefpu.gplemu)) To: #define I387 (curproc->p_addr->u_pcb.pcb_savefpu.gplemu) (and add a few includes of sys/user.h to make it work). --- sys/gnu/arch/i386/fpemul/errors.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/gnu/arch/i386/fpemul/errors.c') diff --git a/sys/gnu/arch/i386/fpemul/errors.c b/sys/gnu/arch/i386/fpemul/errors.c index 36c4847a4a1..69cb43ad455 100644 --- a/sys/gnu/arch/i386/fpemul/errors.c +++ b/sys/gnu/arch/i386/fpemul/errors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errors.c,v 1.2 2003/01/09 22:27:11 miod Exp $ */ +/* $OpenBSD: errors.c,v 1.3 2003/07/30 21:30:31 jason Exp $ */ /* * errors.c * @@ -75,6 +75,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3