summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-12 10:27:48 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-12 10:27:48 +0200
commite4e2f41220caec3a3d20f3768336b804da8c3af1 (patch)
tree8730403fd8335b6fc11b831f4b87c183e8b90e10 /gmp-impl.h
parent04231b008d6e796d5ec9cb0fe930cca2d0a9d85b (diff)
downloadgmp-e4e2f41220caec3a3d20f3768336b804da8c3af1.tar.gz
* gmp-impl.h: Include config.h before TMP_ALLOC, so
--disable-alloca works.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 6d2405c01..a42f02db1 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -20,6 +20,12 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include "gmp-mparam.h"
+/* #include "longlong.h" */
+
/* When using gcc, make sure to use its builtin alloca. */
#if ! defined (alloca) && defined (__GNUC__)
#define alloca __builtin_alloca
@@ -84,12 +90,6 @@ MA 02111-1307, USA. */
#define PREC(x) ((x)->_mp_prec)
#define ALLOC(x) ((x)->_mp_alloc)
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-#include "gmp-mparam.h"
-/* #include "longlong.h" */
-
#if (__STDC__-0) || defined (__cplusplus)
void *malloc (size_t);
void *realloc (void *, size_t);