aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/selfuncs.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/utils/adt/selfuncs.c
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/backend/utils/adt/selfuncs.c')
-rw-r--r--src/backend/utils/adt/selfuncs.c1
1 files changed, 1 insertions, 0 deletions
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"