From 4b03b0db9d9eded088f3c70b4127447f1097de79 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 26 Sep 2014 11:37:02 +0200 Subject: cris: do not include asm/elf.h elf.h is not exported by the Linux kernel, do not include it here. Done like in other architectures. --- libc/sysdeps/linux/cris/sys/procfs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/cris/sys/procfs.h b/libc/sysdeps/linux/cris/sys/procfs.h index d4ee05134..65b57ba4e 100644 --- a/libc/sysdeps/linux/cris/sys/procfs.h +++ b/libc/sysdeps/linux/cris/sys/procfs.h @@ -28,10 +28,14 @@ #include #include #include -#include __BEGIN_DECLS +typedef unsigned long elf_greg_t; + +#define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof(elf_greg_t)) +typedef elf_greg_t elf_gregset_t[ELF_NGREG]; + struct elf_siginfo { int si_signo; /* Signal number. */ -- cgit v1.2.3