summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.