Add float.h include to int8.c, for isnan().
authorAndres Freund
Wed, 13 Dec 2017 07:32:43 +0000 (23:32 -0800)
committerAndres Freund
Wed, 13 Dec 2017 07:32:43 +0000 (23:32 -0800)
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.

src/backend/utils/adt/int8.c

index 42bb6ebe2f1f7c7c0b6136a22bd841e991b7ef06..a8e2200852564806966b296d4d79b74f892de8d7 100644 (file)
@@ -14,6 +14,7 @@
 #include "postgres.h"
 
 #include 
+#include  /* for _isnan */
 #include 
 #include