From 2f2615421a621debb889339e2b9e0178ec89ed1a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 23 Oct 1997 04:29:36 +0000 Subject: [PATCH] No need to include before "lisp.h", as the latter no longer defines DBL_DIG. --- src/data.c | 9 +-------- src/floatfns.c | 10 ++++------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/data.c b/src/data.c index 8a3d7191f07..2479dc25106 100644 --- a/src/data.c +++ b/src/data.c @@ -22,14 +22,6 @@ Boston, MA 02111-1307, USA. */ #include #include - -/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */ -#ifdef LISP_FLOAT_TYPE -#ifdef STDC_HEADERS -#include -#endif -#endif - #include "lisp.h" #include "puresize.h" #include "charset.h" @@ -45,6 +37,7 @@ Boston, MA 02111-1307, USA. */ #ifdef STDC_HEADERS #include +#include #endif /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ diff --git a/src/floatfns.c b/src/floatfns.c index 6c8aece417d..562ec045c19 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -47,17 +47,15 @@ Boston, MA 02111-1307, USA. */ #include #include - -/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */ -#if STDC_HEADERS -#include -#endif - #include "lisp.h" #include "syssignal.h" #ifdef LISP_FLOAT_TYPE +#if STDC_HEADERS +#include +#endif + /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ #ifndef IEEE_FLOATING_POINT #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ -- 2.39.2