Add float.h include to int8.c, for isnan().

port.h redirects isnan() to _isnan() on windows, which in turn is
provided by float.h rather than math.h. Therefore include the latter
as well.

Per buildfarm.
This commit is contained in:
Andres Freund 2017-12-12 23:32:43 -08:00
parent f512a6e132
commit 8e211f5391

View File

@ -14,6 +14,7 @@
#include "postgres.h"
#include <ctype.h>
#include <float.h> /* for _isnan */
#include <limits.h>
#include <math.h>