blob: 95962636e55feaafa8215172270d7c6fe948109d [file] [log] [blame]
From 6dae4752a53973c152b3e91e8a4ca74a486dae8b Mon Sep 17 00:00:00 2001
From: OpenEmbedded <oe.patch@oe>
Date: Wed, 11 Apr 2018 22:51:00 +0200
Subject: [PATCH] use our elf.h header
Fix
kexec/arch/arm/crashdump-arm.c:70:13: error: 'EM_ARM' undeclared here
(not in a function); did you mean 'EM_860'?
.machine = EM_ARM,
Upstream-Status: Inappropriate [klibc specific]
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
kexec/arch/arm/crashdump-arm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kexec/arch/arm/crashdump-arm.c b/kexec/arch/arm/crashdump-arm.c
index daa4788..2530b29 100644
--- a/kexec/arch/arm/crashdump-arm.c
+++ b/kexec/arch/arm/crashdump-arm.c
@@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <limits.h>
-#include <elf.h>
+#include "../../../include/elf.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>