diff options
author | nijtmans <nijtmans> | 2010-04-27 12:36:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-04-27 12:36:21 (GMT) |
commit | f7b4327454669c5f4b4c8ffb934734279b61ada9 (patch) | |
tree | 9f02a90b630ea9c23e9e80086649e4e3306330bc /generic/tclTomMath.h | |
parent | 0d984b7ada501f2f945b60fcb181532452ee09f2 (diff) | |
download | tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.zip tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.tar.gz tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.tar.bz2 |
If tclInt.h or tclPort.h is already
included, don't include <limits.h>
again. Follow-up to [Bug 2991415]:
tclport.h #included before limits.h
See comments in [Bug 2991415]
Diffstat (limited to 'generic/tclTomMath.h')
-rw-r--r-- | generic/tclTomMath.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h index 48bb603..4e28663 100644 --- a/generic/tclTomMath.h +++ b/generic/tclTomMath.h @@ -15,17 +15,12 @@ #ifndef BN_H_ #define BN_H_ +#include "tclInt.h" #include <tclTomMathDecls.h> #ifndef MODULE_SCOPE #define MODULE_SCOPE extern #endif -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <ctype.h> -#include <limits.h> - #ifndef MIN #define MIN(x,y) ((x)<(y)?(x):(y)) #endif @@ -830,7 +825,7 @@ MODULE_SCOPE const char *mp_s_rmap; #endif #ifdef __cplusplus - } +} #endif #endif @@ -838,6 +833,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.11 $ */ -/* $Date: 2009/10/06 16:31:01 $ */ +/* $Revision: 1.12 $ */ +/* $Date: 2010/04/27 12:36:21 $ */ |