Include <asm/ptrace.h> from <sys/user.h>
Include <asm/ptrace.h> from <sys/user.h>

x86 puts "struct user_regs_struct" in <sys/user.h>, but that requires
duplicating code between Linux and glibc.  Even though it's just an
ABI-breaking structure, I don't want to do that.

This causes <sys/user.h> to end up defining "struct user_regs_struct"
which helps with compatibility.  It's not a big deal because the
internals of "struct user_regs_struct" still need some #ifdef, but
it's one less line per package...

While not the greatest ports to copy, powerpc and sh do this.  With
the patch Gentoo still builds.

manuelafm/riscv-gnu-toolchain,manuelafm/riscv-gnu-toolchain,manuelafm/riscv-gnu-toolchain