diff options
| author | Richard M. Stallman | 1997-07-05 03:27:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-05 03:27:25 +0000 |
| commit | 523e929122415f6bad52eca72af3222c90caebcf (patch) | |
| tree | b75b5ead6f174bc6be289caa20ed9a5cbc99bf4c /src/data.c | |
| parent | c4009c1f3dca5e5e240ec732f1a617ae62c0c64c (diff) | |
| download | emacs-523e929122415f6bad52eca72af3222c90caebcf.tar.gz emacs-523e929122415f6bad52eca72af3222c90caebcf.zip | |
Include float.h before lisp.h.
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c index 5fb57407cba..f2dd58344d9 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -22,6 +22,14 @@ Boston, MA 02111-1307, USA. */ | |||
| 22 | #include <signal.h> | 22 | #include <signal.h> |
| 23 | 23 | ||
| 24 | #include <config.h> | 24 | #include <config.h> |
| 25 | |||
| 26 | /* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */ | ||
| 27 | #ifdef LISP_FLOAT_TYPE | ||
| 28 | #ifdef STDC_HEADERS | ||
| 29 | #include <float.h> | ||
| 30 | #endif | ||
| 31 | #endif | ||
| 32 | |||
| 25 | #include "lisp.h" | 33 | #include "lisp.h" |
| 26 | #include "puresize.h" | 34 | #include "puresize.h" |
| 27 | #include "charset.h" | 35 | #include "charset.h" |
| @@ -36,7 +44,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 36 | #ifdef LISP_FLOAT_TYPE | 44 | #ifdef LISP_FLOAT_TYPE |
| 37 | 45 | ||
| 38 | #ifdef STDC_HEADERS | 46 | #ifdef STDC_HEADERS |
| 39 | #include <float.h> | ||
| 40 | #include <stdlib.h> | 47 | #include <stdlib.h> |
| 41 | #endif | 48 | #endif |
| 42 | 49 | ||