summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-27 12:36:21 (GMT)
committernijtmans <nijtmans>2010-04-27 12:36:21 (GMT)
commitf7b4327454669c5f4b4c8ffb934734279b61ada9 (patch)
tree9f02a90b630ea9c23e9e80086649e4e3306330bc /generic/tclStrToD.c
parent0d984b7ada501f2f945b60fcb181532452ee09f2 (diff)
downloadtcl-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-xgeneric/tclStrToD.c11
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