blob: 2d1d64db1cf7b33e459dfde4062fc75adf00fa64 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 8ee92bc915d650e188caaa3df0a798ac2002f64e Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: 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
Brad Bishop26bdd442019-08-16 17:08:17 -040020index 3f72b38..af2600d 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021--- 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>