aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-02-03 03:25:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-02-03 03:25:55 +0000
commit45c88a55c2845a8f67934fa17ac9256f3a7d799f (patch)
treed3d448e24645f0566d20440d435be79b2f713769
parent98e314550c3264de02daf3686585683a80dc63c6 (diff)
downloadpostgresql-45c88a55c2845a8f67934fa17ac9256f3a7d799f.tar.gz
postgresql-45c88a55c2845a8f67934fa17ac9256f3a7d799f.zip
Add #include <float.h> --- guessing the lack of this is why Windows
machines are all rejecting isinf() calls in this file.
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 48b38dab1e4..53442774241 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.91 2010/02/02 16:09:11 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.92 2010/02/03 03:25:55 tgl Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@@ -17,6 +17,7 @@
#include "postgres_fe.h"
#include <locale.h>
+#include <float.h>
#include <math.h>
#include "pg_type.h"