diff --git a/libc/include/sys/procfs.h b/libc/include/sys/procfs.h index b5b1a4667..7ef5023ab 100644 --- a/libc/include/sys/procfs.h +++ b/libc/include/sys/procfs.h @@ -39,6 +39,10 @@ typedef elf_greg_t elf_gregset_t[NGREG]; typedef fpregset_t elf_fpregset_t; +#if defined(__i386__) +typedef struct user_fpxregs_struct elf_fpxregset_t; +#endif + typedef elf_gregset_t prgregset_t; typedef elf_fpregset_t prfpregset_t; diff --git a/libc/include/sys/user.h b/libc/include/sys/user.h index b370add7f..d63fe6aa5 100644 --- a/libc/include/sys/user.h +++ b/libc/include/sys/user.h @@ -47,7 +47,7 @@ struct user_fpregs_struct { long fos; long st_space[20]; }; -struct user_fxsr_struct { +struct user_fpxregs_struct { unsigned short cwd; unsigned short swd; unsigned short twd;