Skip to content

Commit 86dbbf2

Browse files
committed
Put back <float.h> in a few files that need it for _isnan().
Further fallout from commit c29aff9: 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
1 parent f9b1a0d commit 86dbbf2

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/backend/access/gist/gistproc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818
#include "postgres.h"
1919

20+
#include <float.h>
2021
#include <math.h>
2122

2223
#include "access/gist.h"

src/backend/access/gist/gistutil.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*/
1414
#include "postgres.h"
1515

16+
#include <float.h>
1617
#include <math.h>
1718

1819
#include "access/gist_private.h"

src/backend/utils/adt/orderedsetaggs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515
#include "postgres.h"
1616

17+
#include <float.h>
1718
#include <math.h>
1819

1920
#include "catalog/pg_aggregate.h"

src/backend/utils/adt/selfuncs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
#include "postgres.h"
9999

100100
#include <ctype.h>
101+
#include <float.h>
101102
#include <math.h>
102103

103104
#include "access/gin.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy