summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclTomMath.h6
-rw-r--r--generic/tclTomMathInt.h2
-rw-r--r--generic/tommath.h2
4 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 50102af..5a07b27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-06 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclTomMathInt.h (new): Public header tclTomMath.h had
+ * generic/tclTomMath.h: dependence on private headers, breaking use
+ * generic/tommath.h: by extensions [Bug 1941434].
+
2009-10-05 Don Porter <dgp@users.sourceforge.net>
* changes: Update for 8.5.8 release.
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index d794316..7ac044c 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -26,8 +26,6 @@
#include <ctype.h>
#include <limits.h>
-#include <tommath_class.h>
-
#ifndef MIN
#define MIN(x,y) ((x)<(y)?(x):(y))
#endif
@@ -840,6 +838,6 @@ MODULE_SCOPE const char *mp_s_rmap;
/* $Source: /root/tcl/repos-to-convert/tcl/generic/tclTomMath.h,v $ */
/* Based on Tom's version 1.8 */
-/* $Revision: 1.10 $ */
-/* $Date: 2007/02/14 17:59:21 $ */
+/* $Revision: 1.10.4.1 $ */
+/* $Date: 2009/10/06 16:30:39 $ */
diff --git a/generic/tclTomMathInt.h b/generic/tclTomMathInt.h
new file mode 100644
index 0000000..1b9eb64
--- /dev/null
+++ b/generic/tclTomMathInt.h
@@ -0,0 +1,2 @@
+#include "tclTomMath.h"
+#include "tommath_class.h"
diff --git a/generic/tommath.h b/generic/tommath.h
index 4ce3e43..028a84d 100644
--- a/generic/tommath.h
+++ b/generic/tommath.h
@@ -1 +1 @@
-#include "tclTomMath.h"
+#include "tclTomMathInt.h"