From da3829e1fe68f6d70616f00d89fa31c865230e96 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 19 Feb 2000 08:10:12 +0000 Subject: [PATCH] Include . Make fpregset_t definition compatible with definition in 2.1.2 and before. (struct ucontext): Use fpregset_t. --- sysdeps/unix/sysv/linux/i386/sys/ucontext.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/i386/sys/ucontext.h b/sysdeps/unix/sysv/linux/i386/sys/ucontext.h index 44a5b12cd4..a90078ce9c 100644 --- a/sysdeps/unix/sysv/linux/i386/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/i386/sys/ucontext.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,6 +26,10 @@ included in . */ #include +/* We also need the definition of the userlevel data representation + for the register contexts. */ +#include + /* Type for general register. */ typedef int greg_t; @@ -82,7 +86,7 @@ enum #endif /* Structure to describe FPU registers. */ -typedef struct _fpstate *fpregset_t; +typedef struct user_fpregs_struct fpregset_t; /* Context to describe whole processor state. */ typedef struct @@ -103,7 +107,7 @@ typedef struct ucontext stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; - struct _fpstate __fpregs_mem; + fpregset_t __fpregs_mem; } ucontext_t; #endif /* sys/ucontext.h */