summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-30 06:15:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-30 06:15:13 (GMT)
commitb774a7b73682ce8dec7ce3a91c495205fbb6adae (patch)
tree317a2395f8c11b8d13b6c8494efd72e7c1de47bb
parente5d18f03be65ec94911ef541ff0b52a3522c0533 (diff)
downloadtcl-b774a7b73682ce8dec7ce3a91c495205fbb6adae.zip
tcl-b774a7b73682ce8dec7ce3a91c495205fbb6adae.tar.gz
tcl-b774a7b73682ce8dec7ce3a91c495205fbb6adae.tar.bz2
[Bug 2991415]: tclport.h #include'd before limits.h
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclTomMath.h1
-rw-r--r--generic/tclTomMathInt.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e31ad3e..7d91aba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* win/Makefile.in: don't install tommath_(super)?class.h
* unix/Makefile.in: don't install directories like 8.2 and 8.3
+ * generic/tclTomMath.h: [Bug 2991415]: move include tclInt.h from
+ * generic/tclTomMathInt.h: tclTomMath.h to tclTomMathInt.h
2011-11-25 Donal K. Fellows <dkf@users.sf.net>
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index eca435f..dd9edaf 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -15,7 +15,6 @@
#ifndef BN_H_
#define BN_H_
-#include "tclInt.h"
#include "tclTomMathDecls.h"
#ifndef MODULE_SCOPE
#define MODULE_SCOPE extern
diff --git a/generic/tclTomMathInt.h b/generic/tclTomMathInt.h
index 1b9eb64..831f13f 100644
--- a/generic/tclTomMathInt.h
+++ b/generic/tclTomMathInt.h
@@ -1,2 +1,3 @@
+#include "tclInt.h"
#include "tclTomMath.h"
#include "tommath_class.h"