From becdcc75f97d3d4480b9317633f0a59334a15a94 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 2 Apr 2007 19:30:58 +0000 Subject: fixes from Carmelo AMOROSO to depend less on kernel headers --- libc/sysdeps/linux/sh/sys/procfs.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/sh/sys/procfs.h b/libc/sysdeps/linux/sh/sys/procfs.h index d7cd125f8..aad21e5f8 100644 --- a/libc/sysdeps/linux/sh/sys/procfs.h +++ b/libc/sysdeps/linux/sh/sys/procfs.h @@ -29,10 +29,19 @@ #include #include #include -#include __BEGIN_DECLS +/* + * ELF register definitions... + */ +typedef unsigned long elf_greg_t; + +#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t)) +typedef elf_greg_t elf_gregset_t[ELF_NGREG]; + +typedef struct user_fpu_struct elf_fpregset_t; + struct elf_siginfo { int si_signo; /* Signal number. */ -- cgit v1.2.3