summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:48:18 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:48:18 +0000
commit3be9dc8e1471fcf5f461d31e8492d14046ab26c3 (patch)
tree8c38a44532b13683aa9ec030649f30bab6c90dd8 /stdlib
parenta77dcecfd4d0083b25b3fdcd4f033143ab6d4397 (diff)
downloadglibc-3be9dc8e1471fcf5f461d31e8492d14046ab26c3.tar.gz
glibc-3be9dc8e1471fcf5f461d31e8492d14046ab26c3.tar.xz
glibc-3be9dc8e1471fcf5f461d31e8492d14046ab26c3.zip
* include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and gmp-impl.h.
	* include/gmp.h: Include/gmp-mparam.h.
	* stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
	gmp-impl.h.

2003-03-14  Alexandre Oliva  <aoliva@redhat.com>
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index ef74b3d9f5..820307a0ec 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -64,9 +64,11 @@
 /* The gmp headers need some configuration frobs.  */
 #define HAVE_ALLOCA 1
 
+/* Include gmp-mparam.h first, such that definitions of _SHORT_LIMB
+   and _LONG_LONG_LIMB in it can take effect into gmp.h.  */
+#include <gmp-mparam.h>
 #include <gmp.h>
 #include <gmp-impl.h>
-#include <gmp-mparam.h>
 #include <longlong.h>
 #include "fpioconst.h"