]> granicus.if.org Git - postgresql/commitdiff
Add #include <float.h> --- guessing the lack of this is why Windows
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Feb 2010 03:25:55 +0000 (03:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Feb 2010 03:25:55 +0000 (03:25 +0000)
machines are all rejecting isinf() calls in this file.

src/interfaces/ecpg/ecpglib/execute.c

index 48b38dab1e4b46d1fc6902731381131d1ac89767..53442774241ae6ad2169e280ac85c8cd187ffe05 100644 (file)
@@ -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"