> > #define ELF_NGREG (sizeof (struct user_regs_struct) /
> > sizeof(elf_greg_t))
> > typedef elf_greg_t elf_gregset_t[ELF_NGREG];
While people have been forcing asm/user.h to be #included before/by
asm/elf.h and gotten things to work, someone who can say for sure that
this is the correct and platform-independent way to get struct
user_regs_struct defined needs to say so, or someone who knows it's not
needs to propose a more appropriate fix.
Keith
-- "It moved faster. I swear, they are evolving right before my eyes. If you see something this big, with eight legs coming your way, let me know; I have to kill it before it develops language skills." --- Ambassador Londo Mollari, in 'Sic Transit Vir' (Babylon 5)