aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentf9b1a0dd403ec0931213c66d5f979a3d3e8e7e30 (diff)
downloadpostgresql-86dbbf20d8496ede77566873d1e22cd11c1e544c.tar.gz
postgresql-86dbbf20d8496ede77566873d1e22cd11c1e544c.zip
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')
-rw-r--r--src/backend/access/gist/gistproc.c1
-rw-r--r--src/backend/access/gist/gistutil.c1
-rw-r--r--src/backend/utils/adt/orderedsetaggs.c1
-rw-r--r--src/backend/utils/adt/selfuncs.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/access/gist/gistproc.c b/src/backend/access/gist/gistproc.c
index ffb1d772ad9..15b89fd8ade 100644
--- a/src/backend/access/gist/gistproc.c
+++ b/src/backend/access/gist/gistproc.c
@@ -17,6 +17,7 @@
*/
#include "postgres.h"
+#include <float.h>
#include <math.h>
#include "access/gist.h"
diff --git a/src/backend/access/gist/gistutil.c b/src/backend/access/gist/gistutil.c
index 75845ba0e76..cbdaec9d2b3 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"
diff --git a/src/backend/utils/adt/orderedsetaggs.c b/src/backend/utils/adt/orderedsetaggs.c
index f9f18f2cc62..e462fbd539d 100644
--- a/src/backend/utils/adt/orderedsetaggs.c
+++ b/src/backend/utils/adt/orderedsetaggs.c
@@ -14,6 +14,7 @@
*/
#include "postgres.h"
+#include <float.h>
#include <math.h>
#include "catalog/pg_aggregate.h"
diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c
index 8b05e8f9f79..a04fd7bc905 100644
--- a/src/backend/utils/adt/selfuncs.c
+++ b/src/backend/utils/adt/selfuncs.c
@@ -98,6 +98,7 @@
#include "postgres.h"
#include <ctype.h>
+#include <float.h>
#include <math.h>
#include "access/gin.h"