Put back <float.h> in a few files that need it for _isnan().

Further fallout from commit c29aff959: there are some files that need
<float.h>, and were getting it from datatype/timestamp.h, but it was not
apparent in my (tgl's) testing because the requirement for <float.h>
exists only on certain Windows toolchains.

Report and patch by David Rowley.

Discussion: https://postgr.es/m/CAKJS1f-BHceaFzZScFapDV48gUVM2CAOBfhkgffdqXzFb+kwew@mail.gmail.com
This commit is contained in:
Tom Lane 2017-03-08 15:38:26 -05:00
parent f9b1a0dd40
commit 86dbbf20d8
4 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@
*/
#include "postgres.h"
#include <float.h>
#include <math.h>
#include "access/gist.h"

View File

@ -13,6 +13,7 @@
*/
#include "postgres.h"
#include <float.h>
#include <math.h>
#include "access/gist_private.h"

View File

@ -14,6 +14,7 @@
*/
#include "postgres.h"
#include <float.h>
#include <math.h>
#include "catalog/pg_aggregate.h"

View File

@ -98,6 +98,7 @@
#include "postgres.h"
#include <ctype.h>
#include <float.h>
#include <math.h>
#include "access/gin.h"