Shuffle includes in ldbl-128ibm/mpn2ldl.c
commit79adcb58f6ca687c61939bbe695ffc8c54558d5f
authorPaul Murphy <murphyp@linux.vnet.ibm.com>
Tue, 17 Nov 2015 18:27:39 +0000 (17 12:27 -0600)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Thu, 19 Nov 2015 17:52:43 +0000 (19 15:52 -0200)
treecf0f0822af39129e8c26545475bf76afd9f4c05a
parent463ac90dab7b90ba6089c1cadd980b6185d3cceb
Shuffle includes in ldbl-128ibm/mpn2ldl.c

Kind of hokey, but errno.h drags in misc/sys/param.h which
defines MIN/MAX causing an error.  Include system headers
first to grab MIN/MAX definition in param.h, and define
HAVE_ALLOCA to preserve existing behavior.

* sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
after system headers to prevent MIN/MAX redefinition.  Define
HAVE_ALLOCA to preserve builtin alloca usage.
ChangeLog
sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c