Missing include in float.h - Mailing list pgsql-bugs

From Ian R. Campbell
Subject Missing include in float.h
Date
Msg-id CAOC8YUd7H-REg7sqQD-kcUaE2iCMitimcSGhr5nLYRKq3k1zZQ@mail.gmail.com
Whole thread Raw
Responses Re: Missing include in float.h  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
In PG 14, the source file "float.h" has one include:

<math.h>

It is missing "c.h", which contains the definitions for PGDLLIMPORT, float4, float8, etc.

I have the latest Windows installation from EDB.

I checked in doxygen and the include is missing there, too: https://doxygen.postgresql.org/float_8h_source.html

Best,
Ian Campbell

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Report a potential bug caused by a improper call to pfree()
Next
From: Tom Lane
Date:
Subject: Re: Missing include in float.h