From 4f51b0a6b9a36cc56fa06eb0f76596d8e387f980 Mon Sep 17 00:00:00 2001 From: Gary Bisson Date: Fri, 27 Mar 2020 23:17:30 +0100 Subject: [PATCH] Fix build with uclibc toolchain From: Laurent Gauthier (OSS) By default, backtrace support is disabled in uclibc. In that case the execinfo.h header file is missing, producing a build error. Signed-off-by: Laurent Gauthier (OSS) Signed-off-by: Gary Bisson --- openmax_il/source/dbgmacros.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openmax_il/source/dbgmacros.h b/openmax_il/source/dbgmacros.h index 3771c91..37ae09f 100755 --- a/openmax_il/source/dbgmacros.h +++ b/openmax_il/source/dbgmacros.h @@ -50,13 +50,6 @@ # define __USE_GNU #endif -#ifndef ANDROID -#include -#include -#endif -#include -#include - /***************** ** DEBUG FLAGS ** *****************/ @@ -76,6 +69,13 @@ #define TRACE_FILE "trace.log" #endif +#ifndef ANDROID +#include +#include +#endif +#include +#include + #ifdef LOG_IN_FILE #define TRACE(...) \ { \ -- 2.25.1