package/efl: fix build issue on big endian system
Fixes: http://autobuild.buildroot.net/results/0f1/0f12919f59dc92a8d91e23d3b0c1120bc06720db http://autobuild.buildroot.net/results/62e/62e96be61601347e92f9c115209af4962fe82492 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7c0ecd4d75
commit
f2ed9b2150
@ -0,0 +1,35 @@
|
||||
From 135f4233266443a4546bdf8217f145a0f7bbb90d Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@gmail.com>
|
||||
Date: Thu, 7 Sep 2017 22:25:48 +0200
|
||||
Subject: [PATCH] eina_debug: add missing header for big endian build
|
||||
|
||||
The build fail for big endian system due to missing eina_swap32
|
||||
definition.
|
||||
Add "eina_cpu.h" include where eina_swap32 prototype is defined.
|
||||
|
||||
Patch provided by sharkcz in [1].
|
||||
|
||||
Uptream status: pending
|
||||
|
||||
[1] https://phab.enlightenment.org/D5158
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
src/lib/eina/eina_debug.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/lib/eina/eina_debug.c b/src/lib/eina/eina_debug.c
|
||||
index ca1bdad..468ca43 100644
|
||||
--- a/src/lib/eina/eina_debug.c
|
||||
+++ b/src/lib/eina/eina_debug.c
|
||||
@@ -60,6 +60,7 @@
|
||||
#endif
|
||||
|
||||
#include "eina_debug.h"
|
||||
+#include "eina_cpu.h"
|
||||
#include "eina_types.h"
|
||||
#include "eina_list.h"
|
||||
#include "eina_mempool.h"
|
||||
--
|
||||
2.9.5
|
||||
|
Loading…
Reference in New Issue
Block a user