Commit 86dbbf20 authored by Tom Lane's avatar Tom Lane

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

Further fallout from commit c29aff95: 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
parent f9b1a0dd
......@@ -17,6 +17,7 @@
*/
#include "postgres.h"
#include <float.h>
#include <math.h>
#include "access/gist.h"
......
......@@ -13,6 +13,7 @@
*/
#include "postgres.h"
#include <float.h>
#include <math.h>
#include "access/gist_private.h"
......
......@@ -14,6 +14,7 @@
*/
#include "postgres.h"
#include <float.h>
#include <math.h>
#include "catalog/pg_aggregate.h"
......
......@@ -98,6 +98,7 @@
#include "postgres.h"
#include <ctype.h>
#include <float.h>
#include <math.h>
#include "access/gin.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment