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/fpu_trig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/gnu/arch/i386/fpemul/fpu_trig.c') diff --git a/sys/gnu/arch/i386/fpemul/fpu_trig.c b/sys/gnu/arch/i386/fpemul/fpu_trig.c index 8867cb61849..78460707693 100644 --- a/sys/gnu/arch/i386/fpemul/fpu_trig.c +++ b/sys/gnu/arch/i386/fpemul/fpu_trig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu_trig.c,v 1.1 1996/08/27 10:32:50 downsj Exp $ */ +/* $OpenBSD: fpu_trig.c,v 1.2 2003/07/30 21:30:31 jason Exp $ */ /* * fpu_trig.c * @@ -64,6 +64,7 @@ #include #include +#include #include #include -- cgit v1.2.3