Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 6dae4752a53973c152b3e91e8a4ca74a486dae8b Mon Sep 17 00:00:00 2001 |
| 2 | From: OpenEmbedded <oe.patch@oe> |
| 3 | Date: Wed, 11 Apr 2018 22:51:00 +0200 |
| 4 | Subject: [PATCH] use our elf.h header |
| 5 | |
| 6 | Fix |
| 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 | |
| 12 | Upstream-Status: Inappropriate [klibc specific] |
| 13 | Signed-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 | |
| 19 | diff --git a/kexec/arch/arm/crashdump-arm.c b/kexec/arch/arm/crashdump-arm.c |
| 20 | index 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> |