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/tclStrToD.c | |
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/tclStrToD.c')
-rwxr-xr-x | generic/tclStrToD.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index b9b9950..fdfdb5e 100755 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -14,19 +14,14 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStrToD.c,v 1.42 2010/04/02 19:23:58 kennykb Exp $ + * RCS: @(#) $Id: tclStrToD.c,v 1.43 2010/04/27 12:36:22 nijtmans Exp $ * *---------------------------------------------------------------------- */ -#include <tclInt.h> -#include <stdio.h> -#include <stdlib.h> -#include <float.h> -#include <limits.h> +#include "tclInt.h" +#include "tommath.h" #include <math.h> -#include <ctype.h> -#include <tommath.h> /* * Define KILL_OCTAL to suppress interpretation of numbers with leading zero |