diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-05 03:27:25 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-05 03:27:25 +0000 |
commit | 523e929122415f6bad52eca72af3222c90caebcf (patch) | |
tree | b75b5ead6f174bc6be289caa20ed9a5cbc99bf4c /src/floatfns.c | |
parent | c4009c1f3dca5e5e240ec732f1a617ae62c0c64c (diff) | |
download | emacs-523e929122415f6bad52eca72af3222c90caebcf.tar.gz |
Include float.h before lisp.h.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r-- | src/floatfns.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 11cf657f105..29bdccf2989 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -47,15 +47,17 @@ Boston, MA 02111-1307, USA. */ #include <signal.h> #include <config.h> -#include "lisp.h" -#include "syssignal.h" - -#ifdef LISP_FLOAT_TYPE +/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */ #if STDC_HEADERS #include <float.h> #endif +#include "lisp.h" +#include "syssignal.h" + +#ifdef LISP_FLOAT_TYPE + /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ #ifndef IEEE_FLOATING_POINT #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ |