Missing include in float.h

From: "Ian R(dot) Campbell" <ian(dot)campbell(at)thepathcentral(dot)com>
To: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Missing include in float.h
Date: 2022-01-30 16:32:58
Message-ID: CAOC8YUd7H-REg7sqQD-kcUaE2iCMitimcSGhr5nLYRKq3k1zZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2022-01-30 18:38:40 Re: Missing include in float.h
Previous Message Tom Lane 2022-01-30 15:29:27 Re: Report a potential bug caused by a improper call to pfree()