aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/int8.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-12-12 23:32:43 -0800
committerAndres Freund <andres@anarazel.de>2017-12-12 23:32:43 -0800
commit8e211f5391465bddda79e17e63c79dbc8c70e6d1 (patch)
tree73eb6c498b117c79a5feabd6727b9bb6fd2f1d98 /src/backend/utils/adt/int8.c
parentf512a6e1323eefa843a063e466babb96d7bfb4ce (diff)
downloadpostgresql-8e211f5391465bddda79e17e63c79dbc8c70e6d1.tar.gz
postgresql-8e211f5391465bddda79e17e63c79dbc8c70e6d1.zip
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.
Diffstat (limited to 'src/backend/utils/adt/int8.c')
-rw-r--r--src/backend/utils/adt/int8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/adt/int8.c b/src/backend/utils/adt/int8.c
index 42bb6ebe2f1..a8e22008525 100644
--- a/src/backend/utils/adt/int8.c
+++ b/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>