summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2008-03-30 04:36:47 (GMT)
committerKevin B Kenny <kennykb@acm.org>2008-03-30 04:36:47 (GMT)
commit888f03eb9f15b0cad13f35a6e496acd42e3b8e3e (patch)
treec6aa5a6dc1c4abca2b27ef6cf831b40fea8baf86
parente5f1969c3350cce0f8cac276147a55961f9418d4 (diff)
downloadtcl-888f03eb9f15b0cad13f35a6e496acd42e3b8e3e.zip
tcl-888f03eb9f15b0cad13f35a6e496acd42e3b8e3e.tar.gz
tcl-888f03eb9f15b0cad13f35a6e496acd42e3b8e3e.tar.bz2
* generic/tclObj.c: Added missing #include <math.h> needed to
locate isnan() after the above change.
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclObj.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 889cc6b..e183ba5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
is found. This change avoids bugs where
the test of ((d) != (d)) is optimized away
by an overaggressive compiler. [Bug 1783544]
+ * generic/tclObj.c: Added missing #include <math.h> needed to
+ locate isnan() after the above change.
* unix/configure: autoconf-2.61
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 0b2fddb..f97d236 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -13,12 +13,13 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclObj.c,v 1.139 2007/12/13 15:23:19 dgp Exp $
+ * RCS: @(#) $Id: tclObj.c,v 1.140 2008/03/30 04:36:47 kennykb Exp $
*/
#include "tclInt.h"
#include "tommath.h"
#include <float.h>
+#include <math.h>
/*
* Table of all object types.