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.
pull/27/head
Andres Freund 8 years ago
parent f512a6e132
commit 8e211f5391
  1. 1
      src/backend/utils/adt/int8.c

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

Loading…
Cancel
Save