pgsql: Add missing float.h include to snprintf.c.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add missing float.h include to snprintf.c.
Date: 2015-02-04 12:34:36
Message-ID: E1YIzAC-000296-LF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing float.h include to snprintf.c.

On windows _isnan() (which isnan() is redirected to in port/win32.h)
is declared in float.h, not math.h.

Per buildfarm animal currawong.

Backpatch to all supported branches.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/00331a0f23f25944d495260796c29778649a5041

Modified Files
--------------
src/port/snprintf.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-02-04 12:58:15 pgsql: Fix memory leaks on OOM in ecpg.
Previous Message Andres Freund 2015-02-04 12:34:33 pgsql: Add missing float.h include to snprintf.c.