Skip to content
Snippets Groups Projects
Commit ff8ca3b0 authored by Andres Freund's avatar Andres Freund
Browse files

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.
parent c036edb7
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,9 @@
#include "c.h"
#include <ctype.h>
#ifdef _MSC_VER
#include <float.h> /* for _isnan */
#endif
#include <limits.h>
#include <math.h>
#ifndef WIN32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment