From: Paul Eggert Date: Thu, 23 Oct 1997 04:29:36 +0000 (+0000) Subject: No need to include before "lisp.h", X-Git-Tag: emacs-20.3~2951 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f2615421a621debb889339e2b9e0178ec89ed1a;p=emacs.git No need to include before "lisp.h", as the latter no longer defines DBL_DIG. --- 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 \