From ae6673c30ee90ba8925de5a41172914e302f17e8 Mon Sep 17 00:00:00 2001 From: Jaroslaw Pelczar Date: Tue, 29 Aug 2017 10:26:18 +0200 Subject: [PATCH] Fix compilation of arm-linux-gnueabi-gcc- MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When compiling with Linux toolchain, there are build errors like: math/lib_j1.c: In function ‘pone’: math/lib_j1.c:363:2: error: unknown type name ‘double_t’; did you mean ‘double’? double_t z; ^~~~~~~~ This patch solves compilation using modern v7.2.0 toolchain. Signed-off-by: Jaroslaw Pelczar --- lib/libc/math/lib_j0.c | 1 + lib/libc/math/lib_j1.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/libc/math/lib_j0.c b/lib/libc/math/lib_j0.c index dfc7093..98c1e02 100644 --- a/lib/libc/math/lib_j0.c +++ b/lib/libc/math/lib_j0.c @@ -102,6 +102,7 @@ #include #include +#include #include "libm.h" diff --git a/lib/libc/math/lib_j1.c b/lib/libc/math/lib_j1.c index 437bd74..c31d9e1 100644 --- a/lib/libc/math/lib_j1.c +++ b/lib/libc/math/lib_j1.c @@ -102,6 +102,7 @@ #include #include +#include #include "libm.h" -- 2.7.4