From a70486d79003622adf4b607344bc54b032393fc3 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 24 Jun 2002 20:03:38 +0000 Subject: 2002-06-24 Jeff Johnston * libc/include/math.h: Remove . (__dmath): Use __ULong instead of _uint32_t. * libc/include/sys/reent.h: If long or int is not 32-bits, include to get definitions for _int32_t and _uint32_t. * libc/stdlib/mprec.h: Include to get integer defs. * libm/common/fdlibm.h: Ditto. --- newlib/libc/include/math.h | 3 +-- newlib/libc/include/sys/reent.h | 1 + newlib/libc/stdlib/mprec.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'newlib/libc') diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index 817e81183..c0a743d0f 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -7,7 +7,6 @@ extern "C" { #define _MATH_H_ #include -#include #include #include "_ansi.h" @@ -18,7 +17,7 @@ extern "C" { union __dmath { - __uint32_t i[2]; + __ULong i[2]; double d; }; diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h index 39353cc42..f75684cdf 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -24,6 +24,7 @@ typedef unsigned __Long __ULong; #endif #ifndef __Long +#include #define __Long __int32_t typedef __uint32_t __ULong; #endif diff --git a/newlib/libc/stdlib/mprec.h b/newlib/libc/stdlib/mprec.h index 31d52e131..4ca48f22f 100644 --- a/newlib/libc/stdlib/mprec.h +++ b/newlib/libc/stdlib/mprec.h @@ -31,6 +31,7 @@ #include #include #include +#include #ifdef __IEEE_LITTLE_ENDIAN #define IEEE_8087 -- cgit v1.2.3