1From 8ee92bc915d650e188caaa3df0a798ac2002f64e Mon Sep 17 00:00:00 2001 2From: OpenEmbedded <oe.patch@oe> 3Date: Wed, 11 Apr 2018 22:51:00 +0200 4Subject: [PATCH] use our elf.h header 5 6Fix 7 8 kexec/arch/arm/crashdump-arm.c:70:13: error: 'EM_ARM' undeclared here 9 (not in a function); did you mean 'EM_860'? 10 .machine = EM_ARM, 11 12Upstream-Status: Inappropriate [klibc specific] 13Signed-off-by: Andrea Adami <andrea.adami@gmail.com> 14 15--- 16 kexec/arch/arm/crashdump-arm.c | 2 +- 17 1 file changed, 1 insertion(+), 1 deletion(-) 18 19diff --git a/kexec/arch/arm/crashdump-arm.c b/kexec/arch/arm/crashdump-arm.c 20index 3f72b38..af2600d 100644 21--- a/kexec/arch/arm/crashdump-arm.c 22+++ b/kexec/arch/arm/crashdump-arm.c 23@@ -21,7 +21,7 @@ 24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 25 */ 26 #include <limits.h> 27-#include <elf.h> 28+#include "../../../include/elf.h" 29 #include <errno.h> 30 #include <stdio.h> 31 #include <stdlib.h> 32