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
pull/17/merge
Tom Lane 9 years ago
parent f9b1a0dd40
commit 86dbbf20d8
  1. 1
      src/backend/access/gist/gistproc.c
  2. 1
      src/backend/access/gist/gistutil.c
  3. 1
      src/backend/utils/adt/orderedsetaggs.c
  4. 1
      src/backend/utils/adt/selfuncs.c

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

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

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

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

Loading…
Cancel
Save