blob: 95962636e55feaafa8215172270d7c6fe948109d [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 6dae4752a53973c152b3e91e8a4ca74a486dae8b 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 daa4788..2530b29 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>