projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f512a6e
)
Add float.h include to int8.c, for isnan().
author
Andres Freund
<andres@anarazel.de>
Wed, 13 Dec 2017 07:32:43 +0000
(23:32 -0800)
committer
Andres Freund
<andres@anarazel.de>
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/int8.c
b/src/backend/utils/adt/int8.c
index 42bb6ebe2f1f7c7c0b6136a22bd841e991b7ef06..a8e2200852564806966b296d4d79b74f892de8d7 100644
(file)
--- 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>