summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-03-08 15:38:26 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-03-08 15:38:34 -0500
commit86dbbf20d8496ede77566873d1e22cd11c1e544c (patch)
treed7dce43d4e153d66692a6abaa6801145092b1970 /src/backend/access/gist/gistutil.c
parentf9b1a0dd403ec0931213c66d5f979a3d3e8e7e30 (diff)
downloadpostgresql-86dbbf20d8496ede77566873d1e22cd11c1e544c.tar.gz
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
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
-rw-r--r--src/backend/access/gist/gistutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/gist/gistutil.c b/src/backend/access/gist/gistutil.c
index 75845ba0e7..cbdaec9d2b 100644
--- a/src/backend/access/gist/gistutil.c
+++ b/src/backend/access/gist/gistutil.c
@@ -13,6 +13,7 @@
*/
#include "postgres.h"
+#include <float.h>
#include <math.h>
#include "access/gist_private.h"