diff options
author | nijtmans <nijtmans@noemail.net> | 2010-04-27 12:36:20 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-04-27 12:36:20 (GMT) |
commit | 168677cb642d8fb587d60008c482e93487d379ec (patch) | |
tree | 9f02a90b630ea9c23e9e80086649e4e3306330bc /generic/tclTomMath.h | |
parent | e9e0e78703053faf0be0198215f3f6b1a8efbd16 (diff) | |
download | tcl-168677cb642d8fb587d60008c482e93487d379ec.zip tcl-168677cb642d8fb587d60008c482e93487d379ec.tar.gz tcl-168677cb642d8fb587d60008c482e93487d379ec.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]
FossilOrigin-Name: b7c55dd4bff714c0d799cc3972956b79eee2a6ff
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 $ */ |